Skip to main content

PropRef

还没翻译译自英文(tanstack.com)本页 35 段都还没译

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

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

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

Internal

  • Type brand for TypeScript inference

Inherited from

BaseExpression.__returnType

bindingId?

readonly optional bindingId: string;

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


path

path: string[];

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


sourceAlias?

readonly optional sourceAlias: string;

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


type

type: "ref";

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

Overrides

BaseExpression.type