# Arrays of Documents and $elemMatch

Dot notation reaches a field of every document in an array, such as "ingredients.name"; two such conditions can be met by two different items, and $elemMatch makes them hold for the same item.

![Cheat sheet: Arrays of Documents and $elemMatch](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/c2d642711cf5456c9b410526d00df8ca.webp)

- Category: MongoDB
- Level: Journeyman
- Tags: $elemMatch, Array Field, Embedded Document, mongodb
- Author: Gregor Dzierzon
- Updated: November 23, 2026

Source: https://www.ask-codey.com/cheat-sheets/mongodb-arrays-of-documents-and-elemmatch-cheat-sheet
