Skip to main content
Module

x/kysely_deno_postgres_dialect/mod.ts>kysely.PostgresPool

Kysely dialect for PostgreSQL using the deno-postgres client.
Latest
interface kysely.PostgresPool
import { type kysely } from "https://deno.land/x/kysely_deno_postgres_dialect@v0.27.1/mod.ts";
const { PostgresPool } = kysely;

This interface is the subset of pg driver's Pool class that kysely needs.

We don't use the type from pg here to not have a dependency to it.

https://node-postgres.com/apis/pool

Methods

connect(): Promise<PostgresPoolClient>
end(): Promise<void>