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

x/drizzle/pg-core.ts>QueryBuilderInstance

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

Constructors

new
QueryBuilderInstance()

Properties

private
dialect
private
getDialect
private
PgSelectBuilder

Methods

$with<TAlias extends string>(alias: TAlias): { as<TSelection>(qb: QueryBuilder<TSelection> | ((qb: QueryBuilderInstance) => QueryBuilder<TSelection>)): WithSubqueryWithSelection<TSelection, TAlias>; }
select(): PgSelectBuilder<undefined, "qb">
select<TSelection extends SelectedFields>(fields: TSelection): PgSelectBuilder<TSelection, "qb">
with(...queries: WithSubquery[]): { select: { (): PgSelectBuilder<undefined, "qb">; <TSelection extends SelectedFields>(fields: TSelection): PgSelectBuilder<TSelection, "qb">; }; }