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