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

ViewBuilder

class ViewBuilder<TName extends string = string> extends DefaultViewBuilderCore<{
name: TName;
}
>
{
as<TSelectedFields extends SelectedFields>(qb: QueryBuilder<TSelectedFields> | ((qb: QueryBuilderInstance) => QueryBuilder<TSelectedFields>)): PgViewWithSelection<TName, false, AddAliasToSelection<TSelectedFields, TName>>;
}

§Type Parameters

§
TName extends string = string
[src]

§Extends

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

§Methods

§
as<TSelectedFields extends SelectedFields>(qb: QueryBuilder<TSelectedFields> | ((qb: QueryBuilderInstance) => QueryBuilder<TSelectedFields>)): PgViewWithSelection<TName, false, AddAliasToSelection<TSelectedFields, TName>>
[src]