Skip to content

Graphorin API reference v0.4.0


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

Type Alias: BetterSqlite3Constructor

ts
type BetterSqlite3Constructor = (filename, options?) => BetterSqlite3Database;

Defined in: packages/store-sqlite/src/driver-types.ts:57

Internal

Constructor signature exposed by both better-sqlite3 and better-sqlite3-multiple-ciphers (the cipher peer is a drop-in replacement of the default driver).

Parameters

ParameterType
filenamestring
options?{ fileMustExist?: boolean; readonly?: boolean; timeout?: number; }
options.fileMustExist?boolean
options.readonly?boolean
options.timeout?number

Returns

BetterSqlite3Database