kysely-sqlite
    Preparing search index...

    Interface SqliteDialectConfig

    Config for the SQLite dialect.

    interface SqliteDialectConfig {
        database: DatabaseSync | (() => Promise<DatabaseSync>);
        onCreateConnection?: (connection: DatabaseConnection) => Promise<void>;
    }
    Index

    Properties

    database: DatabaseSync | (() => Promise<DatabaseSync>)

    A node:sqlite DatabaseSync instance or a function that returns one.

    If a function is provided, it's called once when the first query is executed.

    https://nodejs.org/api/sqlite.html#class-databasesync

    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 node:sqlite module.