how to find greater than in mongodb shell code example Example: mongodb greater than db.yourDataBase.find({counter:{$gt:2}})