mongodb query if array property includes one of values code example Example: mongodb find element in array db.yourCollection.find( { array: "element" } )