Updated: 2022/Sep/29

Please read Privacy Policy. It's for your privacy.


SQLITE3_BIND_PARAMETER_COUNT(3)                       Library Functions Manual

NAME
     sqlite3_bind_parameter_count - number of SQL parameters

SYNOPSIS
     #include <sqlite3.h>

     int
     sqlite3_bind_parameter_count(sqlite3_stmt*);

DESCRIPTION
     This routine can be used to find the number of SQL parameters in a
     prepared statement.  SQL parameters are tokens of the form "?", "?NNN",
     ":AAA", "$AAA", or "@AAA" that serve as placeholders for values that are
     bound to the parameters at a later time.

     This routine actually returns the index of the largest (rightmost)
     parameter.  For all forms except ?NNN, this will correspond to the number
     of unique parameters.  If parameters of the ?NNN form are used, there may
     be gaps in the list.

IMPLEMENTATION NOTES
     These declarations were extracted from the interface documentation at
     line 4696.

     SQLITE_API int sqlite3_bind_parameter_count(sqlite3_stmt*);

SEE ALSO
     sqlite3_bind_blob(3), sqlite3_bind_parameter_index(3),
     sqlite3_bind_parameter_name(3), sqlite3_stmt(3)

NetBSD 10.99                    August 24, 2023                   NetBSD 10.99