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

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

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

Returns a result column of the current row as a 32-bit integer, converting other types; an integer outside the 32-bit range keeps only its low 32 bits.

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

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