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

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

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

Returns the name of a result column, which is its AS alias or else unspecified, or NULL when out of memory or the index is out of range. The statement owns the string until it is finalized or re-prepared.

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

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