create_select_query
Description:
public static SqlCommandSelect create_select_query (DataObject obj, bool use_pkey = false) throws Error
Creates a SqlCommandSelect to SELECT a DataObject using the object's properties with the mark, in the nicks, ::id and ::pkey, filtering all other objects.
Parameters:
obj |
the object to create the command from |
use_pkey |
change the use of ::id properties with the ones marked as ::pkey |
Returns:
a new SqlCommandSelect |