# Comparison Operators: $gt, $lt, $in and More

Comparison operators let a filter ask for more than an exact value, such as less than 30 minutes, a range between two numbers, one of a list of cuisines, or anything but one value.

![Cheat sheet: Comparison Operators: $gt, $lt, $in and More](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/50e7d9f7708e403195a5aae2f52cb5e6.webp)

- Category: MongoDB
- Level: Apprentice
- Tags: $in, Comparison Operators (mongodb), mongodb, Query Operators
- Author: Gregor Dzierzon
- Updated: November 23, 2026

Source: https://www.ask-codey.com/cheat-sheets/mongodb-comparison-operators-cheat-sheet
