xref: /netbsd-src/external/public-domain/sqlite/man/sqlite3_clear_bindings.3 (revision b9988867a8ad969c45a52aa7628bc932ec98d46b)
1.Dd January 24, 2024
2.Dt SQLITE3_CLEAR_BINDINGS 3
3.Os
4.Sh NAME
5.Nm sqlite3_clear_bindings
6.Nd reset all bindings on a prepared statement
7.Sh SYNOPSIS
8.In sqlite3.h
9.Ft int
10.Fo sqlite3_clear_bindings
11.Fa "sqlite3_stmt*"
12.Fc
13.Sh DESCRIPTION
14Contrary to the intuition of many,
15.Fn sqlite3_reset
16does not reset the bindings on a prepared statement.
17Use this routine to reset all host parameters to NULL.
18.Sh IMPLEMENTATION NOTES
19These declarations were extracted from the
20interface documentation at line 4766.
21.Bd -literal
22SQLITE_API int sqlite3_clear_bindings(sqlite3_stmt*);
23.Ed
24.Sh SEE ALSO
25.Xr sqlite3_bind_blob 3 ,
26.Xr sqlite3_reset 3 ,
27.Xr sqlite3_stmt 3
28