Module

x/kysely_postgrs_js_dialect/mod.ts>DatabaseConnection

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

A single connection to the database engine.

These are created by an instance of {@link Driver}.

Methods

executeQuery<R>(compiledQuery: CompiledQuery): Promise<QueryResult<R>>
streamQuery<R>(compiledQuery: CompiledQuery, chunkSize?: number): AsyncIterableIterator<QueryResult<R>>
import DatabaseConnection
import { DatabaseConnection } from "https://dotland.deno.dev/x/kysely_postgrs_js_dialect@v0.27.3/mod.ts";