import { QueryBuilderInstance } from "https://deno.land/x/drizzle@v0.23.85/pg-core.ts";
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">; }; }