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

function sqlite3_column_blob(
  deps: SqliteWasmDep,
): (pStmt: SqliteStmtPtr, iCol: number) => 0 | WasmPtr;

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

Returns the address of a result column's bytes, or NULL for a zero-length blob, SQL NULL or out of memory; call it before sqlite3_column_bytes. The memory stays valid until a type conversion of the column or the next step, reset or finalize, and SQLite frees it.

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

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