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

x/kysely_postgrs_js_dialect/src/utils.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/src/utils.ts";

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

Returns

The database instance.