CollectionRef

Class: CollectionRef

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

Extends

  • BaseExpression

Constructors

Constructor

ts
new CollectionRef(collection, alias): CollectionRef;
new CollectionRef(collection, alias): CollectionRef;

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

Parameters

collection

CollectionImpl

alias

string

Returns

CollectionRef

Overrides

ts
BaseExpression.constructor
BaseExpression.constructor

Properties

__returnType

ts
readonly __returnType: any;
readonly __returnType: any;

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

Internal

  • Type brand for TypeScript inference

Inherited from

ts
BaseExpression.__returnType
BaseExpression.__returnType

alias

ts
alias: string;
alias: string;

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


collection

ts
collection: CollectionImpl;
collection: CollectionImpl;

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


type

ts
type: "collectionRef";
type: "collectionRef";

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

Overrides

ts
BaseExpression.type
BaseExpression.type
Subscribe to Bytes

Your weekly dose of JavaScript news. Delivered every Monday to over 100,000 devs, for free.

Bytes

No spam. Unsubscribe at any time.

Subscribe to Bytes

Your weekly dose of JavaScript news. Delivered every Monday to over 100,000 devs, for free.

Bytes

No spam. Unsubscribe at any time.