Skip to main content
Module

x/kysely_deno_postgres_dialect/mod.ts>kysely.Tarn

Kysely dialect for PostgreSQL using the deno-postgres client.
Go to Latest
interface kysely.Tarn
import { type kysely } from "https://deno.land/x/kysely_deno_postgres_dialect@v0.27.0/mod.ts";
const { Tarn } = kysely;

Properties

options: Omit<TarnPoolOptions<any>, "create" | "destroy" | "validate">

Tarn.js' pool options, excluding create, destroy and validate functions, which must be implemented by this dialect.

Pool: TarnPool

Tarn.js' Pool class.

Example:

import { Pool } from 'tarn'

const dialect = new MssqlDialect({
  // ...
  tarn: {
    // ...
    Pool,
  },
})