Module

x/kysely_postgrs_js_dialect/deps.ts>Dialect

Kysely dialect for PostgreSQL using the Postgres.js client.
Latest
interface Dialect
import { type Dialect } from "https://dotland.deno.dev/x/kysely_postgrs_js_dialect@v0.27.4/deps.ts";

A Dialect is the glue between Kysely and the underlying database engine.

See the built-in {@link PostgresDialect} as an example of a dialect. Users can implement their own dialects and use them by passing it in the {@link KyselyConfig.dialect} property.

Methods

createDriver(): Driver

Creates a driver for the dialect.

createQueryCompiler(): QueryCompiler

Creates a query compiler for the dialect.

createAdapter(): DialectAdapter

Creates an adapter for the dialect.

createIntrospector(db: Kysely<any>): DatabaseIntrospector

Creates a database introspector that can be used to get database metadata such as the table names and column names of those tables.

db never has any plugins installed. It's created using {@link Kysely.withoutPlugins}.

import Dialect
import { Dialect } from "https://dotland.deno.dev/x/kysely_postgrs_js_dialect@v0.27.4/deps.ts";