import { PostgresJSConnection } from "https://dotland.deno.dev/x/kysely_postgrs_js_dialect@v0.27.8/mod.ts";
A database connection that uses the postgresjs
library.
Methods
beginTransaction(settings: TransactionSettings): Promise<void>
commitTransaction(): Promise<void>
executeQuery<R>(compiledQuery: CompiledQuery<unknown>): Promise<QueryResult<R>>
releaseConnection(): void
rollbackTransaction(): Promise<void>
streamQuery<R>(compiledQuery: CompiledQuery<unknown>, chunkSize: number): AsyncIterableIterator<QueryResult<R>>