Connection.statementExecuteSelect

gda.data_model.DataModel statementExecuteSelect(gda.statement.Statement stmt, gda.set.Set params = null)

Executes a selection command on the given connection.

This function returns a #GdaDataModel resulting from the SELECT statement, or null if an error occurred.

This function is just a convenience function around the gda.connection.Connection.statementExecute function.

See the documentation of the gda.connection.Connection.statementExecute for information about the params list of parameters.

Parameters

stmta #GdaStatement object.
paramsa #GdaSet object (which can be obtained using gda.statement.Statement.getParameters), or null

Returns

a #GdaDataModel containing the data returned by the

data source, or null if an error occurred

Throws