From 18657a960e125336f704ea058e25c27bd3900dcb Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 5 May 2024 19:28:19 +0200 Subject: Adding upstream version 3.40.1. Signed-off-by: Daniel Baumann --- www/c3ref/bind_parameter_name.html | 152 +++++++++++++++++++++++++++++++++++++ 1 file changed, 152 insertions(+) create mode 100644 www/c3ref/bind_parameter_name.html (limited to 'www/c3ref/bind_parameter_name.html') diff --git a/www/c3ref/bind_parameter_name.html b/www/c3ref/bind_parameter_name.html new file mode 100644 index 0000000..8490871 --- /dev/null +++ b/www/c3ref/bind_parameter_name.html @@ -0,0 +1,152 @@ + + + + + +Name Of A Host Parameter + + + +
+ + + +
+
+Small. Fast. Reliable.
Choose any three. +
+ + +
+
+ + + +
+
+
+ + +
+

SQLite C Interface

+

Name Of A Host Parameter

+
+
+const char *sqlite3_bind_parameter_name(sqlite3_stmt*, int);
+
+

+The sqlite3_bind_parameter_name(P,N) interface returns +the name of the N-th SQL parameter in the prepared statement P. +SQL parameters of the form "?NNN" or ":AAA" or "@AAA" or "$AAA" +have a name which is the string "?NNN" or ":AAA" or "@AAA" or "$AAA" +respectively. +In other words, the initial ":" or "$" or "@" or "?" +is included as part of the name. +Parameters of the form "?" without a following integer have no name +and are referred to as "nameless" or "anonymous parameters".

+ +

The first host parameter has an index of 1, not 0.

+ +

If the value N is out of range or if the N-th parameter is +nameless, then NULL is returned. The returned string is +always in UTF-8 encoding even if the named parameter was +originally specified as UTF-16 in sqlite3_prepare16(), +sqlite3_prepare16_v2(), or sqlite3_prepare16_v3().

+ +

See also: sqlite3_bind(), +sqlite3_bind_parameter_count(), and +sqlite3_bind_parameter_index(). +

See also lists of + Objects, + Constants, and + Functions.

+ -- cgit v1.2.3