class kysely.SqliteDriver
implements Driver
import { kysely } from "https://deno.land/x/kysely_postgrs_js_dialect@v0.27.3/deps.ts";
const { SqliteDriver } = kysely;
Constructors
new
SqliteDriver(config: SqliteDialectConfig)Methods
acquireConnection(): Promise<DatabaseConnection>
Acquires a new connection from the pool.
beginTransaction(connection: DatabaseConnection): Promise<void>
Begins a transaction.
commitTransaction(connection: DatabaseConnection): Promise<void>
Commits a transaction.
destroy(): Promise<void>
Destroys the driver and releases all resources.
init(): Promise<void>
Initializes the driver.
After calling this method the driver should be usable and acquireConnection
etc.
methods should be callable.
releaseConnection(): Promise<void>
Releases a connection back to the pool.
rollbackTransaction(connection: DatabaseConnection): Promise<void>
Rolls back a transaction.