Skip to main content
Journey Uncommon Logo
JourneyUncommon
easyMongoDBcomparison operators $gt $inSingle-choice MCQ

You can combine $gt and $lt on the same field in one filter object. What does this query match?

db.users.find({ age: { $gt: 18, $lt: 65 } });