API reference › @evolu/sqlite-wasm › c-api › sqlite3_bind_parameter_count

function sqlite3_bind_parameter_count(
  deps: SqliteWasmDep,
): (pStmt: SqliteStmtPtr) => number;

Defined in: packages/sqlite-wasm/src/CApi.ts:2010

Returns the index of a statement's largest SQL parameter, which is the number of parameters unless ?NNN parameters leave gaps.

Wasm type i(i). Signature ["sqlite3_bind_parameter_count", "int", "sqlite3_stmt*"] from SQLite's table.

See https://sqlite.org/c3ref/bind_parameter_count.html.