Return the number of columns in a result
#include <qdb/qdb.h> int qdb_columns(qdb_result_t *res);
qdb
This function returns the number of columns in the result structure res. 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 |