Skip to content

SqliteStoreFileOptions

Defined in: store/sqlite.ts:48

The adapter opens file itself and closes it in close(). A file database is put in WAL mode with synchronous = FULL, so every acknowledged action survives a process crash and a power loss (ADR 0009: an ack means durable). ':memory:' keeps no data.

file: string

Defined in: store/sqlite.ts:50

Path of the database file, created if missing.


optional tablePrefix?: string

Defined in: store/sqlite.ts:40

Prefix for the SQL table names (<prefix>entries, <prefix>snapshots, <prefix>sessions, <prefix>open_tables, <prefix>meta), so several apps can share one database. Letters, digits and underscores only. Default 'shoehive_'.

SqliteStoreBaseOptions.tablePrefix