Cuttlefish SDK Reference - v0.1.0
    Preparing search index...

    Kysely dialect that wires the Postgres adapter/compiler with the dummy driver so queries can be built and compiled in browser environments.

    Implements

    • Dialect
    Index

    Constructors

    Methods

    • Creates an adapter for the dialect.

      Returns PostgresAdapter

    • Creates a driver for the dialect.

      Returns DummyDriver

    • 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.

      Parameters

      • db: Kysely<unknown>

      Returns PostgresIntrospector

    • Creates a query compiler for the dialect.

      Returns PostgresQueryCompiler