Small, Fast, Reliable.
Choose any three.

About Sitemap Documentation Download License News Developers Support

## SQLite C Interface

### Number Of Host Parameters

>     int sqlite3_bind_parameter_count(sqlite3_stmt*);

Return the largest host parameter index in the precompiled statement given as the argument. When the host parameters are of the forms like ":AAA" or "?", then they are assigned sequential increasing numbers beginning with one, so the value returned is the number of parameters. However if the same host parameter name is used multiple times, each occurrance is given the same number, so the value returned in that case is the number of unique host parameter names. If host parameters of the form "?NNN" are used (where NNN is an integer) then there might be gaps in the numbering and the value returned by this interface is the index of the host parameter with the largest index value.

The prepared statement must not be finalized prior to this routine returnning. Otherwise the results are undefined and probably undesirable.

See also lists of Objects, Constants, and Functions.

This page last modified 2007/11/22 00:41:31 UTC