greater than equal to mongodb code example
Example 1: mongodb greater than
db.yourDataBase.find({counter:{$gt:2}})
Example 2: mongodb less than
db.yourDatabaseName.find(counter:{$lt:100})
db.yourDataBase.find({counter:{$gt:2}})
db.yourDatabaseName.find(counter:{$lt:100})