

InterviewSolution
Saved Bookmarks
1. |
_______ filters the document stream to allow only matching documents to pass unmodified into the next pipeline stage.(a) $regex(b) $reg(c) $match(d) None of the mentionedThis question was addressed to me during an online interview.This question is from Aggregation Operations in division Aggregation Concepts and Aggregation Mechanics of MongoDB |
Answer» RIGHT ANSWER is (c) $match To explain: $match uses standard MONGODB queries. For each INPUT DOCUMENT, outputs either one document (a match) or zero documents (no match). |
|