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:72

Extends

  • BaseExpression

Constructors

Constructor

new CollectionRef(collection, alias): CollectionRef;

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

Parameters

collection

CollectionImpl

alias

string

Returns

CollectionRef

Overrides

BaseExpression.constructor

Properties

__returnType

readonly __returnType: any;

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

Internal

  • Type brand for TypeScript inference

Inherited from

BaseExpression.__returnType

alias

alias: string;

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


collection

collection: CollectionImpl;

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


type

type: "collectionRef";

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

Overrides

BaseExpression.type