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

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

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

Reads a global SQLITE_STATUS_* counter into the sqlite3_int64 at pCurrent and its highwater mark into the sqlite3_int64 at pHighwater, 8 bytes each, resetting the mark when resetFlag is non-zero. Some counters leave one of the two outputs unwritten.

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

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