.Dd January 24, 2024
.Dt SQLITE3_CLEAR_BINDINGS 3
.Os
.Sh NAME
.Nm sqlite3_clear_bindings
.Nd reset all bindings on a prepared statement
.Sh SYNOPSIS
.In sqlite3.h
.Ft int
.Fo sqlite3_clear_bindings
.Fa "sqlite3_stmt*"
.Fc
.Sh DESCRIPTION
Contrary to the intuition of many,
.Fn sqlite3_reset
does not reset the bindings on a prepared statement.
Use this routine to reset all host parameters to NULL.
.Sh IMPLEMENTATION NOTES
These declarations were extracted from the
interface documentation at line 4766.
.Bd -literal
SQLITE_API int sqlite3_clear_bindings(sqlite3_stmt*);
.Ed
.Sh SEE ALSO
.Xr sqlite3_bind_blob 3 ,
.Xr sqlite3_reset 3 ,
.Xr sqlite3_stmt 3