select all records in mongo db were fields value greater than 1 code example Example: mongodb greater than db.yourDataBase.find({counter:{$gt:2}})