Q. What does $elemMatch do?

A
Matches a single array element
B
Counts elements
C
Sets an array
D
Removes elements
Solution:

$elemMatch matches documents where an array field contains a matching element.

Entri PDF Icon

Get Question Bank

Strengthen Your Practice with our comprehensive question bank.

Entri Contact Image

Get Expert Advice for Free: Register for Your Free Consultation Now!