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

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

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

Returns the declared type of the table column a result column comes from, or NULL when the result column is an expression or subquery. The statement owns the string.

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

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