Skip to content

Glossary: MongoDB

$elemMatch

A query operator that requires one single array element to meet all the given conditions. It finds orders with at least 2 of one particular SKU, instead of matching the SKU in one item and the quantity in another.

Where the book teaches it

Related terms

$allDot notation