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/PropRef.md
PropRef
Defined in: packages/db/src/query/ir.ts:205
Extends#
- BaseExpression<T>
Type Parameters#
T#
T = any
Constructors#
Constructor#
ts
new PropRef<T>(
path,
sourceAlias?,
bindingId?): PropRef<T>;Defined in: packages/db/src/query/ir.ts:209
Parameters#
path#
string[]
sourceAlias?#
string
bindingId?#
string
Returns#
PropRef<T>
Overrides#
ts
BaseExpression<T>.constructorProperties#
__returnType#
ts
readonly __returnType: T;Defined in: packages/db/src/query/ir.ts:88
Internal
- Type brand for TypeScript inference
Inherited from#
ts
BaseExpression.__returnTypebindingId?#
ts
readonly optional bindingId: string;Defined in: packages/db/src/query/ir.ts:208
path#
ts
path: string[];Defined in: packages/db/src/query/ir.ts:210
sourceAlias?#
ts
readonly optional sourceAlias: string;Defined in: packages/db/src/query/ir.ts:207
type#
ts
type: "ref";Defined in: packages/db/src/query/ir.ts:206
Overrides#
ts
BaseExpression.type