Skip to Content

Last Updated: 3/10/2026


kysely

  • Dialect

Interface Dialect

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.

interface Dialect {
    createAdapter(): DialectAdapter;
    createDriver(): Driver;
    createIntrospector(db: Kysely<any>): DatabaseIntrospector;
    createQueryCompiler(): QueryCompiler;
}

Implemented by

Index

Methods

createAdapter createDriver createIntrospector createQueryCompiler

Methods

createAdapter

createDriver

  • createDriver(): Driver

    Creates a driver for the dialect.

    Returns Driver

createIntrospector

createQueryCompiler

Settings

Member Visibility

On This Page

Methods

createAdaptercreateDrivercreateIntrospectorcreateQueryCompiler