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

add.md

36 lines458 Bytes

1---
2id: add
3title: add
4---
5​
6# Function: add()
7​
8```ts
9function add<T1, T2>(left, right): BinaryNumericReturnType;
10```
11​
12Defined in: [packages/db/src/query/builder/functions.ts:601](https://github.com/TanStack/db/blob/main/packages/db/src/query/builder/functions.ts#L601)
13​
14## Type Parameters
15​
16### T1
17​
18`T1` *extends* `ExpressionLike`
19​
20### T2
21​
22`T2` *extends* `ExpressionLike`
23​
24## Parameters
25​
26### left
27​
28`T1`
29​
30### right
31​
32`T2`
33​
34## Returns
35​
36`BinaryNumericReturnType`