API reference › @evolu/sqlite-wasm › c-api › sqlite3_bind_int
function sqlite3_bind_int(
deps: SqliteWasmDep,
): (pStmt: SqliteStmtPtr, index: number, value: number) => SqliteResultCode;
Defined in: packages/sqlite-wasm/src/CApi.ts:2069
Binds a 32-bit integer to a parameter. The wasm boundary converts the number with ToInt32, so a fraction is truncated and a value outside the int32 range wraps silently.
Wasm type i(iii). Signature ["sqlite3_bind_int", "int", "sqlite3_stmt*", "int", "int"] from SQLite's table.