minca

Function: sqliteStores()

function sqliteStores(db, options?): SqliteStores;

Defined in: packages/core/src/storage/sqlite-adapter.ts:82

A node's stores in one SQLite database, for a node on a server or a computer. Opening a store again gives the same data; closing one leaves the database open, since the others share it: close the connection yourself when the node is done.

Parameters

ParameterTypeDescription
dbSqliteDatabase-
options?{ localKey?: CryptoKey | null; }-
options.localKey?CryptoKey | nullSeals the registry. Without it nothing is sealed.

Returns

SqliteStores

On this page