int sqlite3_stmt_status( sqlite3_stmt* stmt, int option, int reset );
stmt
A prepared statement.
option
The status option to retrieve.
reset
If this value is nonzero, the requested status value is reset after it is returned.
The requested status value.
This function retrieves status information from a prepared statement. Each prepared statement maintains several counter values. An application can request one of these counter values and optionally reset the counter to zero.
The available options include the number of scan, step, and sort operations. For a full list of the currently supported options, see http://www.sqlite.org/c3ref/c_stmtstatus_fullscan_step.html.