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 } });