Skip to content

Graphorin API reference v0.7.0


Graphorin API reference / @graphorin/store-sqlite / / SqliteStoreMode

Type Alias: SqliteStoreMode

ts
type SqliteStoreMode = "lib" | "server";

Defined in: packages/store-sqlite/src/index.ts:130

Both modes run on a single in-process connection with the mandatory WAL-hardening pragmas (WAL journal mode, busy-timeout, etc.). 'server' additionally starts the periodic wal_checkpoint(RESTART) manager automatically to bound WAL growth on long-running daemons; 'lib' starts it only when walCheckpointIntervalMs is set.

Stable