basalt / notifications-sqlite/src / openNotificationsDatabase
Function: openNotificationsDatabase()
> openNotificationsDatabase(location?): DatabaseSync
Defined in: notifications-sqlite/src/index.ts:19
Durable, SQLite-backed implementation of the @basaltkit/notificationsInAppStore, on Node's built-in node:sqlite. Zero external dependencies. The single-node reference backend; the production (Postgres/MySQL) counterpart is @basaltkit/notifications-prisma.
Requires Node 22.5+ (stable and flag-free on Node 24; --experimental-sqlite on 22.x).
Parameters
location?
string = ':memory:'
Returns
DatabaseSync