Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/kysely_postgrs_js_dialect/mod.ts>DatabaseConnection

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

A single connection to the database engine.

These are created by an instance of Driver.

Methods

executeQuery<R>(compiledQuery: CompiledQuery): Promise<QueryResult<R>>
streamQuery<R>(compiledQuery: CompiledQuery, chunkSize?: number): AsyncIterableIterator<QueryResult<R>>