class kysely.PostgresDriver
implements Driver
import { kysely } from "https://deno.land/x/kysely_deno_postgres_dialect@v0.27.1/mod.ts";
const { PostgresDriver } = kysely;
Constructors
new
PostgresDriver(config: PostgresDialectConfig)Methods
beginTransaction(connection: DatabaseConnection, settings: TransactionSettings): Promise<void>
Begins a transaction.
init(): Promise<void>
Initializes the driver.
After calling this method the driver should be usable and acquireConnection
etc.
methods should be callable.
releaseConnection(connection: PostgresConnection): Promise<void>
Releases a connection back to the pool.