Open History to see the last commit
1---
2id: coalesce
3title: coalesce
4---
5
6<!-- DO NOT EDIT: this page is autogenerated from the type comments -->
7
8# Function: coalesce()
9
10```ts
11function coalesce(...args): BasicExpression<any>
12```
13
14Defined in: [packages/db/src/query/builder/functions.ts:201](https://github.com/TanStack/db/blob/main/packages/db/src/query/builder/functions.ts#L201)
15
16## Parameters
17
18### args
19
20...`any`[]
21
22## Returns
23
24`BasicExpression`\<`any`\>