Skip to main content

CollectionRef

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

Extends

  • BaseExpression

Constructors

Constructor

new CollectionRef(
   collection, 
   alias, 
   bindingId?): CollectionRef;

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

Parameters

collection

CollectionImpl

alias

string

bindingId?

string

Returns

CollectionRef

Overrides

BaseExpression.constructor

Properties

__returnType

readonly __returnType: any;

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

Internal

  • Type brand for TypeScript inference

Inherited from

BaseExpression.__returnType

alias

alias: string;

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


collection

collection: CollectionImpl;

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


type

type: "collectionRef";

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

Overrides

BaseExpression.type

Accessors

bindingId

Get Signature

get bindingId(): string;

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

Returns

string


sourceId

Get Signature

get sourceId(): string;

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

Opaque runtime identity; aliases are lexical names only.

Returns

string