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

x/kysely_postgrs_js_dialect/src/utils.ts>setup

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

Sets up the database instance using the provided setup function. This function must be called before any database operations are performed.

Parameters

setup: SetupFn<T>
  • A function that returns a configured Kysely database instance.