mongodb query on double field to be greater than 0 code example Example: mongodb greater than db.yourDataBase.find({counter:{$gt:2}})