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