Name
sqlite3_reset() — Reset of prepared statement
Definition
int sqlite3_reset( sqlite3_stmt* stmt );
-
stmt A prepared statement.
- Returns
An SQLite result code.
Description
This function resets a prepared statement, making it available
for execution. This is typically done after one or more calls to
sqlite3_step(). The
reset call will release any locks and other resources associated
with the last execution of the statement. This function may be
called any time between calls to sqlite3_prepare_xxx() and sqlite3_finalize().
This function does not clear the statement parameter bindings.
An application must call sqlite3_clear_bindings() to reset the statement
parameters to NULL.
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