---
title: = (equals)
slug: equals
docTags: 
createdAt: 2021-09-14T17:53:03.000Z
---

Returns true when the value of a given field and a given expression are the same.&#x20;

### Syntax

`expression1 = expression2`

### Sample usage

`tenure=3` returns all records where `tenure` is `3`.

`department="engineering"` returns all records where `department` is `engineering`.

`startDate=('2021-01-01')` returns all records where `startDate` is `01/01/2021`.

### Supported data types

- Evaluated expressions can be of any type.
- `String` comparisons are case-insensitive.
- If either side of the comparison is a `List` then the comparison will return true if there are any values in common.

### See also

- [: (match)](docId\:ldpiNC46SdrU3oQyN7cb2)&#x20;
- [!= (not-equals)](docId\:G6PRxUTGM2VRCNW7HcqrY)&#x20;
- [?: (elvis)](docId\:X-HM1Bldw8aWd8-byRlZV)&#x20;

