TIL

#$elemMatch

The $elemMatch operator matches documents that contain an array field with at least one element that matches all the specified query criteria.

Ref:http://stackoverflow.com/a/28006849/1653870 Documentation:https://docs.mongodb.org/manual/reference/operator/query/elemMatch/#element-match