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

PgSelectBuilder

class PgSelectBuilder<TSelection extends SelectedFields | undefined, TBuilderMode extends "db" | "qb" = "db"> {
constructor(
fields: TSelection,
session: PgSession | undefined,
dialect: PgDialect,
withList?: Subquery[],
);
private dialect;
private fields;
private session;
private withList;
 
from<TFrom extends >(source: TFrom): CreatePgSelectFromBuilderMode<TBuilderMode, GetSelectTableName<TFrom>, TSelection extends undefined ? GetSelectTableSelection<TFrom> : TSelection, TSelection extends undefined ? "single" : "partial">;
}

§Type Parameters

§
TSelection extends SelectedFields | undefined
[src]
§
TBuilderMode extends "db" | "qb" = "db"
[src]

§Constructors

§
new PgSelectBuilder(fields: TSelection, session: PgSession | undefined, dialect: PgDialect, withList?: Subquery[])
[src]

§Properties

§
dialect
[src]
§
fields
[src]
§
session
[src]
§
withList
[src]

§Methods

§
from<TFrom extends >(source: TFrom): CreatePgSelectFromBuilderMode<TBuilderMode, GetSelectTableName<TFrom>, TSelection extends undefined ? GetSelectTableSelection<TFrom> : TSelection, TSelection extends undefined ? "single" : "partial">
[src]