kysely
    Preparing search index...

    Class SqliteDialect

    SQLite dialect that uses the better-sqlite3 library.

    The constructor takes an instance of SqliteDialectConfig.

    import Database from 'better-sqlite3'

    new SqliteDialect({
    database: new Database('db.sqlite')
    })

    If you want the pool to only be created once it's first used, database can be a function:

    import Database from 'better-sqlite3'

    new SqliteDialect({
    database: async () => new Database('db.sqlite')
    })

    Implements

    Index

    Constructors

    Methods