Answers for "find multiple data in mongodb"

Go
0

mongodb find multiple criteria

db.emp.find({
    "type" : { "$in": ["WebUser", "User"] },
    "city" : { "$in": ["Pune", "Mumbai"] }
})
Posted by: Guest on January-26-2022

Browse Popular Code Answers by Language