gda_command_execute

Nombre

gda_command_execute -- 

Synopsis

Gda_Recordset * gda_command_execute (Gda_Command* cmd, gulong* reccount, gulong flags);

Arguments

cmd

the command object

reccount

a pointer to a gulong variable. In this variable the number of affected records is stored.

flags

flags to categorize the command.

Description

This function executes the command which has been set with gda_command_set_text(). It returns a #Gda_Recordset pointer which holds the results from this query. If the command doesn't return any results, like insert, or updaste statements in SQL, an empty result set is returnd.

Returns

a pointer to a recordset or a NULL pointer if there was an error.