Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/kysely_postgrs_js_dialect/mod.ts>getDB

Kysely dialect for PostgreSQL using the Postgres.js client.
Latest
function getDB
import { getDB } from "https://deno.land/x/kysely_postgrs_js_dialect@0.27.7/mod.ts";

Get the database instance. Ensure you call setup before calling this function.

Returns

Kysely<T>

The database instance.