Return the number of columns in a result set
#include <qdb/qdb.h> int qdb_columns( qdb_result_t *result );
This function returns the number of columns in the specified result set. If your query matches 0 rows, you can still have a value greater than 0 for the number of columns. You should use qdb_rows() to determine if the results are empty.
QNX Neutrino
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | Yes |