qdb_rows()
Return the number of rows in a result set
Synopsis:
#include <qdb/qdb.h> int qdb_rows( qdb_result_t *res );
Arguments:
- res
- A pointer to a result structure to check.
Library:
qdbDescription:
This function returns the number of rows in the specified result set. If your query matched no rows in the database, this function returns 0.
Returns:
- >=0
- The number of rows in the result set.
- -1
- An error occurred (errno is set).
Classification:
QNX Neutrino
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | Yes |
Page updated:
