Skip to content
Source
Sign inSign up
TanStack/db
Open History to see the last commit

CollectionRef.md

98 lines1.5 KB

Class: CollectionRef

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

Extends

  • BaseExpression

Constructors

Constructor

new CollectionRef(collection, alias): CollectionRef;

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

Parameters

collection

CollectionImpl

alias

string

Returns

CollectionRef

Overrides

BaseExpression.constructor

Properties

__returnType

readonly __returnType: any;

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

Internal

  • Type brand for TypeScript inference

Inherited from

BaseExpression.__returnType

alias

alias: string;

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


collection

collection: CollectionImpl;

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


type

type: "collectionRef";

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

Overrides

BaseExpression.type