statement_execute_select_full
Description:
Executes a selection command on the given connection.
This function returns a DataModel resulting from the SELECT statement, or
null
if an error occurred.
This function is just a convenience function around the statement_execute function.
See the documentation of the statement_execute for information
about the params
list of parameters.
Parameters:
this |
a Connection object. |
stmt |
a Statement object. |
model_usage |
specifies how the returned data model will be used as a StatementModelUsage enum |
col_types |
an array of GType to request each returned DataModel's column's GType,
terminated with the G_TYPE_NONE value. Any value left to 0 will make the database provider determine the real GType. |
params |
a Set object (which can be obtained using
get_parameters), or |
Returns:
a DataModel containing the data returned by the data source, or |