Answers for "mongodb greater than field value"

3

mongodb greater than

db.yourDataBase.find({counter:{$gt:2}})
Posted by: Guest on July-17-2020
0

mongodb greater than field value

collection.find( { $expr: { $gt: [ "$field1" , "$field2" ] } } )
#field1 greater than field2
Posted by: Guest on April-05-2021

Browse Popular Code Answers by Language