Module

x/kysely_postgrs_js_dialect/mod.ts>kysely.PostgresPool

Kysely dialect for PostgreSQL using the Postgres.js client.
interface kysely.PostgresPool
import { type kysely } from "https://dotland.deno.dev/x/kysely_postgrs_js_dialect@v0.27.3/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>