mongodb find the value of an object that's greater than a number code example Example: mongodb greater than db.yourDataBase.find({counter:{$gt:2}})