int sqlite3_data_count(sqlite3_stmt *pStmt);
The sqlite3_data_count(P) the number of columns in the of the result set of prepared statement P.
See also lists of Objects, Constants, and Functions.
*** DRAFT ***