qdb_getresult()

Return the result of an SQL statement

Synopsis:

#include <qdb/qdb.h>

qdb_result_t *qdb_getresult( qdb_hdt_t *db );

Arguments:

db
A pointer to the database handle.

Library:

qdb

Description:

After running a SELECT statement on the database, you can retrieve its result using qdb_getresult(). All rows that match the query are returned in one result set, represented as a qdb_result_t structure, which is an opaque data type. You can get further information about the result using these functions:

When you're finished using the result, you must free it by calling qdb_freeresult() .

Returns:

A pointer to the query result
Success.
NULL
An error occurred (errno is set).

Classification:

QNX Neutrino

Safety:  
Interrupt handler No
Signal handler No
Thread Yes