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

lt.md

86 lines1.3 KB

1---
2id: lt
3title: lt
4---
5​
6<!-- DO NOT EDIT: this page is autogenerated from the type comments -->
7​
8# Function: lt()
9​
10## Call Signature
11​
12```ts
13function lt<T>(left, right): BasicExpression<boolean>
14```
15​
16Defined in: [packages/db/src/query/builder/functions.ts:50](https://github.com/TanStack/db/blob/main/packages/db/src/query/builder/functions.ts#L50)
17​
18### Type Parameters
19​
20• **T**
21​
22### Parameters
23​
24#### left
25​
26`RefProxy`\<`T`\>
27​
28#### right
29​
30`T` | `RefProxy`\<`T`\> | `BasicExpression`\<`T`\>
31​
32### Returns
33​
34`BasicExpression`\<`boolean`\>
35​
36## Call Signature
37​
38```ts
39function lt<T>(left, right): BasicExpression<boolean>
40```
41​
42Defined in: [packages/db/src/query/builder/functions.ts:54](https://github.com/TanStack/db/blob/main/packages/db/src/query/builder/functions.ts#L54)
43​
44### Type Parameters
45​
46• **T** *extends* `string` \| `number`
47​
48### Parameters
49​
50#### left
51​
52`T` | `BasicExpression`\<`T`\>
53​
54#### right
55​
56`T` | `BasicExpression`\<`T`\>
57​
58### Returns
59​
60`BasicExpression`\<`boolean`\>
61​
62## Call Signature
63​
64```ts
65function lt<T>(left, right): BasicExpression<boolean>
66```
67​
68Defined in: [packages/db/src/query/builder/functions.ts:58](https://github.com/TanStack/db/blob/main/packages/db/src/query/builder/functions.ts#L58)
69​
70### Type Parameters
71​
72• **T**
73​
74### Parameters
75​
76#### left
77​
78`Aggregate`\<`T`\>
79​
80#### right
81​
82`any`
83​
84### Returns
85​
86`BasicExpression`\<`boolean`\>