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.
Methods
connect(): Promise<PostgresPoolClient>