Skip to main content
Deno 2 is finally 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@v0.27.8/src/utils.ts";

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

Returns

The database instance.