MongoDB Practice Test
MongoDB MongoDB Query Language and Operators 3
What does the $elemMatch operator do when used in a MongoDB query on an array field?
Select your answer
A
Returns all elements from the matching array
B
Matches documents where at least one array element satisfies all specified conditions
C
Counts the number of matching array elements
D
Returns only the matching elements from the array
Hint
✨ Remove Ads & Unlock Every Exam
— From $1.49
🃏 Study This Quiz as Flashcards →