query mongodb for a number in a range code example Example: get range of values in mongodb db.student.find({ u1 : { $gt : 30, $lt : 60}});