sqlite_clear_bindings

mIRC SQLite

sqlite_clear_bindings
Clears all bindings from a result or a statement.
Syntax
$sqlite_clear_bindings ( result )
/sqlite_clear_bindings result
$sqlite_clear_bindings ( statement )
/sqlite_clear_bindings statement
Parameters
result
The result identifier.
statement
The prepared statement identifier.
Return Value
1 on success, or $null if there was an error.
Remarks
$sqlite_clear_bindings clear all parameter bindings from a specified result or prepared statement. That is, unless they're re-bound, they will default to NULL.

If used to clear bindings in a result set, clears all bindings specified with $sqlite_bind_field. If used to clear bindings in a prepared statement, clears all bindings specified with $sqlite_bind_param or $sqlite_bind_value.

It is usually ok to ignore the return value of $sqlite_clear_bindings because the only case an error is returned is when an invalid statement is specified.