$match for en element in array mongo code example Example: mongodb find element in array db.yourCollection.find( { array: "element" } )