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

View

abstract
abstract class View<TName extends string = string, TExisting extends boolean = boolean, TSelection = unknown> {
constructor({ name, schema, selectedFields, query }: {
name: TName;
schema: string | undefined;
selectedFields: SelectedFields<AnyColumn, Table>;
query: SQL | undefined;
}
);
_: {
brand: "View";
viewBrand: string;
name: TName;
existing: TExisting;
selectedFields: TSelection;
}
;
}

§Type Parameters

§
TName extends string = string
[src]
§
TExisting extends boolean = boolean
[src]
§
TSelection = unknown
[src]

§Constructors

§
new View({ name, schema, selectedFields, query }: {
name: TName;
schema: string | undefined;
selectedFields: SelectedFields<AnyColumn, Table>;
query: SQL | undefined;
}
)
[src]

§Properties

§
_: {
brand: "View";
viewBrand: string;
name: TName;
existing: TExisting;
selectedFields: TSelection;
}
[src]