Answers for "Query all object in mongo array to satisy condition"

0

Query all object in mongo array to satisy condition

db.collection.find({"users":{"$not":{"$elemMatch":{"user":{$nin:[1,5,7]}}}}})
Posted by: Guest on March-25-2022

Browse Popular Code Answers by Language