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

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

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

Returns the storage class of a result column in the current row. Read it before any other column function, which can convert the value.

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

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