gda_connection_execute

Name

gda_connection_execute —

Synopsis

Gda_Recordset* gda_connection_execute (Gda_Connection* cnc, gchar* txt, gulong* reccount, gulong flags);

Arguments

cnc

the conneciton

txt

the statement to execute

reccount

a pointer to a gulong. The number of affected records is stored in the space where the pointer points to

flags

falgs (currently unused

Description

Executes txt. An internal Gda_Command object is used for execution. This command object is destroyed automatically after the commadn has finished.

Returns

a recordset on success or NULL on error.