Name
sqlite3_stmt_status() — Get the status of a prepared statement resource [EXP]
Definition
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.
- Returns
The requested status value.
Description
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.
See Also
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access