DB Docs
API Reference
- Core API Reference
- Collection
- createCollection
- liveQueryCollectionOptions
- createLiveQueryCollection
- createOptimisticAction
- createTransaction
- Electric DB Collection
- electricCollectionOptions
- Query DB Collection
- queryCollectionOptions
- RxDB DB Collection
- rxdbCollectionOptions
- PowerSync Collection
- powerSyncCollectionOptions
- createIndexedDB
- indexedDBCollectionOptions
- React Hooks
- useLiveQuery
AI/LLM: This documentation page is available in plain markdown format at/db/latest/docs/reference/@tanstack/namespaces/IR/classes/DescriptorRef.md
DescriptorRef
Defined in: packages/db/src/query/ir.ts:119
Extends#
- BaseExpression
Constructors#
Constructor#
ts
new DescriptorRef(
descriptor,
alias,
bindingId?): DescriptorRef;Defined in: packages/db/src/query/ir.ts:123
Parameters#
descriptor#
CollectionOptionsIdentity<any, any, any, any, any>
alias#
string
bindingId?#
string
Returns#
DescriptorRef
Overrides#
ts
BaseExpression.constructorProperties#
__returnType#
ts
readonly __returnType: any;Defined in: packages/db/src/query/ir.ts:88
Internal
- Type brand for TypeScript inference
Inherited from#
ts
BaseExpression.__returnTypealias#
ts
alias: string;Defined in: packages/db/src/query/ir.ts:125
descriptor#
ts
descriptor: CollectionOptionsIdentity<any, any, any, any, any>;Defined in: packages/db/src/query/ir.ts:124
type#
ts
type: "descriptorRef";Defined in: packages/db/src/query/ir.ts:120
Overrides#
ts
BaseExpression.typeAccessors#
bindingId#
Get Signature#
ts
get bindingId(): string;Defined in: packages/db/src/query/ir.ts:137
Returns#
string
sourceId#
Get Signature#
ts
get sourceId(): string;Defined in: packages/db/src/query/ir.ts:133
Opaque runtime identity for this unbound source placement.
Returns#
string