rafaelmaeuer
8/22/2017 - 3:44 PM

Find document with array that contains a specific value (MongoDB) - From https://stackoverflow.com/questions/18148166/find-document-with-arr

Find document with array that contains a specific value (MongoDB) - From https://stackoverflow.com/questions/18148166/find-document-with-array-that-contains-a-specific-value

PersonModel.find({ favouriteFoods: { "$in" : ["sushi"]} }, ...);