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

function sqlite3_status(
  deps: SqliteWasmDep,
): (
  op: number,
  pCurrent: WasmPtr,
  pHighwater: WasmPtr,
  resetFlag: number,
) => SqliteResultCode;

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

Reads a global SQLITE_STATUS_* counter into *pCurrent and its highwater mark into *pHighwater, resetting the mark when resetFlag is non-zero. A counter that tracks only one of the two leaves the other unwritten, and values beyond 32 bits are undefined.

Wasm type i(iiii). Signature ["sqlite3_status", "int", "int", "*", "*", "int"] from SQLite's table.

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