Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/store-sqlite / connection / readWalSize

Function: readWalSize()

ts
function readWalSize(conn): number;

Defined in: packages/store-sqlite/src/connection.ts:323

Returns the byte size of the WAL file, or 0 when the file is absent / empty. Surfaced as graphorin.storage.wal.size_bytes.

Parameters

ParameterType
connSqliteConnection

Returns

number

Stable