> For the complete documentation index, see [llms.txt](https://lupemaydana.gitbook.io/learn-mongodb/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lupemaydana.gitbook.io/learn-mongodb/deeper-dive-on-the-mongodb-query-language/logical-operators.md).

# Logical Operators

## 📌 $or, $and

Takes as a value an array in which we specify selectors.

```
db.movieDetails.find({$or: [{“tomato.meter”: {$gt: 95}},
                            {“metacritic”: {$gt: 85}}]})
```

* **$and** operator allows to specify multiple constraints on the same field
