summaryrefslogtreecommitdiff
path: root/static/netbsd/man3/sqlite3_clear_bindings.3
diff options
context:
space:
mode:
Diffstat (limited to 'static/netbsd/man3/sqlite3_clear_bindings.3')
-rw-r--r--static/netbsd/man3/sqlite3_clear_bindings.327
1 files changed, 27 insertions, 0 deletions
diff --git a/static/netbsd/man3/sqlite3_clear_bindings.3 b/static/netbsd/man3/sqlite3_clear_bindings.3
new file mode 100644
index 00000000..8314c8fc
--- /dev/null
+++ b/static/netbsd/man3/sqlite3_clear_bindings.3
@@ -0,0 +1,27 @@
+.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