function gsk_dbh_query

void gsk_dbh_query
                (GskDbh                *        dbh,
                 GskDbhQueryCallback            callback,
                 gpointer                       callback_data,
                 const gchar           *        query)
Enqueue a query for execution. Only one query is outstanding per database handle, additional queries are enqueued for subsequent processing. Queries and query callbacks are executed FIFO.

Parameters:

dbh

The database handle to execute the query on. It is automatically referenced until the supplied query callback returns.

callback

Callback to execute on completion. Note the callback is always executed, even if the query fails.

callback_data

Data passed unmodified to callback.

query

The (null terminated) query to enqueue.