Skip to content

routier-collection


routier-collection / plugins/sqlite/src / SqliteDbPluginOptions

Type Alias: SqliteDbPluginOptions

SqliteDbPluginOptions = object

Defined in: plugins/sqlite/src/plugin.ts:11

Properties

driver?

optional driver: SqliteDriver

Defined in: plugins/sqlite/src/plugin.ts:20

The engine to run against.

Defaults to node:sqlite in Node and SQLite WASM over OPFS in a browser, chosen by the exports conditions in this package's manifest. Pass one explicitly to override: sqlite3Driver() for Node 18 and 20, or wasmDriver({ storage: 'memory' }) for a browser database that should not persist.

Released under the MIT License.