How we can get only the document item that is the result of $elementMatch. Ex: In the M001 > results.surveys > run this: {results: {$elemMatch: {product: “abc”, score: 7}}} --> You get as a result: _id:5964e61ff0df64e7bc2d71ce
results:
0:
product:“abc”
score:7
1:
product:“xyz”
score:7
But, I need only the result below:
0:
product:“abc”
score:7
How can I get that?