Module

x/kysely_postgrs_js_dialect/mod.ts>PostgresJSConnection

Kysely dialect for PostgreSQL using the Postgres.js client.
class PostgresJSConnection
implements DatabaseConnection
import { PostgresJSConnection } from "https://dotland.deno.dev/x/kysely_postgrs_js_dialect@v0.27.3/mod.ts";

Constructors

new
PostgresJSConnection(reservedConnection: ReservedSql)

Methods

beginTransaction(settings: TransactionSettings): Promise<void>
commitTransaction(): Promise<void>
executeQuery<R>(compiledQuery: CompiledQuery<unknown>): Promise<QueryResult<R>>
rollbackTransaction(): Promise<void>
streamQuery<R>(compiledQuery: CompiledQuery<unknown>, chunkSize: number): AsyncIterableIterator<QueryResult<R>>
import PostgresJSConnection
import { PostgresJSConnection } from "https://dotland.deno.dev/x/kysely_postgrs_js_dialect@v0.27.3/mod.ts";