August 2010
Intermediate to advanced
526 pages
23h 39m
English
sqlite3_clear_bindings() — Reset all statement parameters to NULL
int sqlite3_clear_bindings( sqlite3_stmt* stmt );
stmt
A prepared statement.
An SQLite result code.
This function resets all the statement parameters to NULL. It is
equivalent to calling sqlite3_bind_null() on every valid parameter
index. Many applications call this function any time sqlite3_reset() is called, to
prevent parameter values from leaking from one execution to the
next.
Read now
Unlock full access