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>>;
§Methods
§
as<TSelectedFields extends SelectedFields>(qb: QueryBuilder<TSelectedFields> | ((qb: QueryBuilderInstance) => QueryBuilder<TSelectedFields>)): PgViewWithSelection<TName, false, AddAliasToSelection<TSelectedFields, TName>>
[src]