Skip to main content
Module

x/kysely_deno_postgres_dialect/mod.ts>kysely.SqliteDialectConfig

Kysely dialect for PostgreSQL using the deno-postgres client.
Latest
interface kysely.SqliteDialectConfig
Re-export
import { type kysely } from "https://deno.land/x/kysely_deno_postgres_dialect@v0.27.1/mod.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.