Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/kysely_postgrs_js_dialect/mod.ts

Kysely dialect for PostgreSQL using the Postgres.js client.
Latest
import * as kyselyPostgrsJsDialect from "https://deno.land/x/kysely_postgrs_js_dialect@v0.27.8/mod.ts";

Classes

A database connection that uses the postgresjs library.

A kysely dialect for PostgreSQL using the postgres library.

Custom error class for PostgresJSDialect

Functions

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

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

Wraps a callback in a transaction.