SQL/MySQL iterators
Is called for every records found
One record found
Record number
Field names
Called before calling the first onerow
There is at least one record found
Number of records found
Called after the last onerow() has been called
Called only if there was some records found, like dostart()
Called if the query did not found any record
Return the number of records found or -1 if any errors
SQL connection
Control string (a la printf)
arguments
Return the number of records found. Return -1 if any errors. Used
the default connection set by query_setdefaultdb().
Control string (a la printf)
arguments
Perform an SQL query and reports each rows