Discussion :: MongoDB MCQs
- Point out the wrong statement :
A.
Some pipeline stages may generate new documents or filter out documents
|
B.
$limit groups output documents by a specified operator
|
C.
$group groups input documents by a specified identifier expression
|
D.
None of the mentioned
|
Answer : Option B
Explanation :
$group consumes all input documents and outputs one document per each distinct group.
Be The First To Comment