CoyoteDataSet * afgs_command_execute_single_query_with_con AfGsConnection db_connection,
gchar *  cmd_string,
  ...
 

Allows to execute a single query SQL statement setting the database connection from the connection pool to be used.

This function works like afgs_command_execute_single_query function but allowing to set the connection to be used while operating. The connection is get from afgs_command_connection_pool_get function, which is a representation of a connection using a reference to AfGsDBConnection but adding a state to implement a connection pool.

Check documentation about AfGsDBConnection object.

Parameters:
db_connection A database connection from the connection pool.
cmd_string The command to be executed.
Returns:
A newly created CoyoteDataSet object.