CollectionRef

Class: CollectionRef

Defined in: packages/db/src/query/ir.ts:76

Extends

  • BaseExpression

Constructors

Constructor

ts
new CollectionRef(collection, alias): CollectionRef;

Defined in: packages/db/src/query/ir.ts:78

Parameters

collection

CollectionImpl

alias

string

Returns

CollectionRef

Overrides

ts
BaseExpression.constructor

Properties

__returnType

ts
readonly __returnType: any;

Defined in: packages/db/src/query/ir.ts:73

Internal

  • Type brand for TypeScript inference

Inherited from

ts
BaseExpression.__returnType

alias

ts
alias: string;

Defined in: packages/db/src/query/ir.ts:80


collection

ts
collection: CollectionImpl;

Defined in: packages/db/src/query/ir.ts:79


type

ts
type: "collectionRef";

Defined in: packages/db/src/query/ir.ts:77

Overrides

ts
BaseExpression.type