create_delete_query


Description:

public static SqlCommandDelete create_delete_query (DataObject obj, bool use_pkey = false) throws Error

Creates a SqlCommandDelete to DELETE a DataObject.

Use the returned object and modify at your needs, then create a PreparedQuery using SqlCommandDelete.to_query so you can use Query.execute to run your command.