Skip to main content
Module

x/kysely_deno_postgres_dialect/mod.ts>kysely.Dialect

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

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

See the built-in PostgresDialect as an example of a dialect. Users can implement their own dialects and use them by passing it in the 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 Kysely.withoutPlugins.