Open History to see the last commit
1---
2id: like
3title: like
4---
5
6<!-- DO NOT EDIT: this page is autogenerated from the type comments -->
7
8# Function: like()
9
10```ts
11function like(left, right): BasicExpression<boolean>
12```
13
14Defined in: [packages/db/src/query/builder/functions.ts:131](https://github.com/TanStack/db/blob/main/packages/db/src/query/builder/functions.ts#L131)
15
16## Parameters
17
18### left
19
20`string` | `RefProxy`\<`string`\> | `RefProxy`\<`null` \| `string`\> | `RefProxy`\<`undefined` \| `string`\> | `BasicExpression`\<`string`\>
21
22### right
23
24`string` | `RefProxy`\<`string`\> | `BasicExpression`\<`string`\>
25
26## Returns
27
28`BasicExpression`\<`boolean`\>