mongodb select where numeric field is greater than value code example Example: mongodb greater than db.yourDataBase.find({counter:{$gt:2}})