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

PropRef.md

119 lines1.7 KB

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

Extends

  • BaseExpression<T>

Type Parameters

T

T = any

Constructors

Constructor

new PropRef<T>(
   path, 
   sourceAlias?, 
bindingId?): PropRef<T>;

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

Parameters

path

string[]

sourceAlias?

string

bindingId?

string

Returns

PropRef<T>

Overrides

BaseExpression<T>.constructor

Properties

__returnType

readonly __returnType: T;

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

Internal

  • Type brand for TypeScript inference

Inherited from

BaseExpression.__returnType

bindingId?

readonly optional bindingId: string;

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


path

path: string[];

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


sourceAlias?

readonly optional sourceAlias: string;

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


type

type: "ref";

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

Overrides

BaseExpression.type