statement_execute_select_fullv


Description:

public DataModel statement_execute_select_fullv (Statement stmt, Set? @params, StatementModelUsage model_usage, Error error, ...)

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

error

a place to store an error, or null

...

a (-1 terminated) list of (column number, GType) specifying for each column mentioned the GType of the column in the returned DataModel.

params

a Set object (which can be obtained using get_parameters), or null

Returns:

a DataModel containing the data returned by the data source, or null if an error occurred