import { type kysely } from "https://deno.land/x/kysely_postgrs_js_dialect@v0.27.4/deps.ts";
const { SqliteDialectConfig } = kysely;
Config for the SQLite dialect.
Properties
database: SqliteDatabase | (() => Promise<SqliteDatabase>)
An sqlite Database instance or a function that returns one.
If a function is provided, it's called once when the first query is executed.
https://github.com/JoshuaWise/better-sqlite3/blob/master/docs/api.md#new-databasepath-options
optional
onCreateConnection: (connection: DatabaseConnection) => Promise<void>Called once when the first query is executed.
This is a Kysely specific feature and does not come from the better-sqlite3
module.