Open History to see the last commit
1---
2id: SimpleComparison
3title: SimpleComparison
4---
5
6# Interface: SimpleComparison
7
8Defined in: [packages/db/src/query/expression-helpers.ts:44](https://github.com/TanStack/db/blob/main/packages/db/src/query/expression-helpers.ts#L44)
9
10Represents a simple comparison operation
11
12## Properties
13
14### field
15
16```ts
17field: FieldPath;
18```
19
20Defined in: [packages/db/src/query/expression-helpers.ts:45](https://github.com/TanStack/db/blob/main/packages/db/src/query/expression-helpers.ts#L45)
21
22***
23
24### operator
25
26```ts
27operator: string;
28```
29
30Defined in: [packages/db/src/query/expression-helpers.ts:46](https://github.com/TanStack/db/blob/main/packages/db/src/query/expression-helpers.ts#L46)
31
32***
33
34### value?
35
36```ts
37optional value: any;
38```
39
40Defined in: [packages/db/src/query/expression-helpers.ts:47](https://github.com/TanStack/db/blob/main/packages/db/src/query/expression-helpers.ts#L47)