mongodb display collection with age higher than a number code example Example: mongodb greater than db.yourDataBase.find({counter:{$gt:2}})