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

ManualViewBuilder

class ManualViewBuilder<TName extends string = string, TColumns extends Record<string, AnyPgColumnBuilder> = Record<string, AnyPgColumnBuilder>> extends DefaultViewBuilderCore<{
name: TName;
columns: TColumns;
}
>
{
constructor(
name: TName,
columns: TColumns,
schema: string | undefined,
);
private columns;
 
as(query: SQL): PgViewWithSelection<TName, false, BuildColumns<TName, TColumns>>;
existing(): PgViewWithSelection<TName, true, BuildColumns<TName, TColumns>>;
}

§Type Parameters

§
TName extends string = string
[src]
§
TColumns extends Record<string, AnyPgColumnBuilder> = Record<string, AnyPgColumnBuilder>
[src]

§Extends

§
DefaultViewBuilderCore<{
name: TName;
columns: TColumns;
}
>
[src]

§Constructors

§
new ManualViewBuilder(name: TName, columns: TColumns, schema: string | undefined)
[src]

§Properties

§
columns
[src]

§Methods

§
as(query: SQL): PgViewWithSelection<TName, false, BuildColumns<TName, TColumns>>
[src]
§
existing(): PgViewWithSelection<TName, true, BuildColumns<TName, TColumns>>
[src]