sqliteConnection
function sqliteConnection( options, ddl, subpath?): SqliteConnection;Defined in: src/storage/sqlite.ts:54
Build a SqliteConnection that opens path (or borrows database) and runs ddl once.
Products add their own tables by passing extra statements.
Parameters
Section titled “Parameters”| Parameter | Type | Default value |
|---|---|---|
options |
Pick<SqliteStorageOptions, "path" | "database"> |
undefined |
ddl |
string[] |
undefined |
subpath? |
string |
SUBPATH |