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

PropRef.md

88 lines1.2 KB

1---
2id: PropRef
3title: PropRef
4---
5​
6Defined in: [packages/db/src/query/ir.ts:141](https://github.com/TanStack/db/blob/main/packages/db/src/query/ir.ts#L141)
7​
8## Extends
9​
10- `BaseExpression`\<`T`\>
11​
12## Type Parameters
13​
14### T
15​
16`T` = `any`
17​
18## Constructors
19​
20### Constructor
21​
22```ts
23new PropRef<T>(path): PropRef<T>;
24```
25​
26Defined in: [packages/db/src/query/ir.ts:143](https://github.com/TanStack/db/blob/main/packages/db/src/query/ir.ts#L143)
27​
28#### Parameters
29​
30##### path
31​
32`string`[]
33​
34#### Returns
35​
36`PropRef`\<`T`\>
37​
38#### Overrides
39​
40```ts
41BaseExpression<T>.constructor
42```
43​
44## Properties
45​
46### \_\_returnType
47​
48```ts
49readonly __returnType: T;
50```
51​
52Defined in: [packages/db/src/query/ir.ts:84](https://github.com/TanStack/db/blob/main/packages/db/src/query/ir.ts#L84)
53​
54**`Internal`**
55​
56- Type brand for TypeScript inference
57​
58#### Inherited from
59​
60```ts
61BaseExpression.__returnType
62```
63​
64***
65​
66### path
67​
68```ts
69path: string[];
70```
71​
72Defined in: [packages/db/src/query/ir.ts:144](https://github.com/TanStack/db/blob/main/packages/db/src/query/ir.ts#L144)
73​
74***
75​
76### type
77​
78```ts
79type: "ref";
80```
81​
82Defined in: [packages/db/src/query/ir.ts:142](https://github.com/TanStack/db/blob/main/packages/db/src/query/ir.ts#L142)
83​
84#### Overrides
85​
86```ts
87BaseExpression.type
88```