Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

QueryBuilderInstance

class QueryBuilderInstance {
constructor();
private dialect;
private getDialect;
private PgSelectBuilder;
 
$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">;
}
;
}
;
}

§Constructors

§
new QueryBuilderInstance()
[src]

§Properties

§
dialect
[src]
§
getDialect
[src]
§
PgSelectBuilder
[src]

§Methods

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