PropRef

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

Extends

  • BaseExpression<T>

Type Parameters

T

T = any

Constructors

Constructor

ts
new PropRef<T>(
   path, 
   sourceAlias?, 
bindingId?): PropRef<T>;
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

ts
BaseExpression<T>.constructor
BaseExpression<T>.constructor

Properties

__returnType

ts
readonly __returnType: T;
readonly __returnType: T;

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

Internal

  • Type brand for TypeScript inference

Inherited from

ts
BaseExpression.__returnType
BaseExpression.__returnType

bindingId?

ts
readonly optional bindingId: string;
readonly optional bindingId: string;

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


path

ts
path: string[];
path: string[];

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


sourceAlias?

ts
readonly optional sourceAlias: string;
readonly optional sourceAlias: string;

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


type

ts
type: "ref";
type: "ref";

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

Overrides

ts
BaseExpression.type
BaseExpression.type