greater than condition mongodb code example
Example 1: mongodb find with gt
{field: {$gt: value} }
Example 2: mongodb greater than
db.yourDataBase.find({counter:{$gt:2}})
{field: {$gt: value} }
db.yourDataBase.find({counter:{$gt:2}})