Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/drizzle/pg-core.ts>PgDialect

Deno port of the drizzle-orm library
Latest
class PgDialect
Re-export
import { PgDialect } from "https://deno.land/x/drizzle@v0.23.85/pg-core.ts";

Properties

private
buildSelection

Builds selection SQL with provided fields/expressions

Examples:

select <selection> from

insert ... returning <selection>

If isSingleTable is true, then columns won't be prefixed with table name

Methods

buildRefreshMaterializedViewQuery(unnamed 0: { view: PgMaterializedView; concurrently?: boolean; withNoData?: boolean; }): SQL
escapeName(name: string): string
escapeParam(num: number): string
escapeString(str: string): string
migrate(migrations: MigrationMeta[], session: PgSession): Promise<void>