Component index
Section index | Component sql_query |
Search |
Type | Function |
Summary | Perform an SQL query and reports each rows |
Description |
![]() ![]() | void doend () | |
![]() ![]() | void dostart (int nbrow) | |
![]() ![]() | void empty () | |
![]() ![]() | void onerow (const char *row[], int rownum, NSQL_FIELD_NAMES &fields) |
Return the number of records found or -1 if any errors
Return the number of records found. Return -1 if any errors. Used the default connection set by query_setdefaultdb().
Called only if there was some records found, like dostart()
There is at least one record found