$gte mongodb code example
Example 1: mongodb find with gt
{field: {$gt: value} }
Example 2: mongodb greater than
db.yourDataBase.find({counter:{$gt:2}})
Example 3: mongodb gte
// $gte selects the documents where the value of the field is greater
// than or equal to (i.e. >=) a specified value (e.g. value.)
db.inventory.find( { qty: { $gte: 20 } } )
Example 4: $gte in mongodb
db.inventory.find( { qty: { $gte: 20 } } )