Aggregation on MongoDB related Questions and Answers


Question :   When using $first in a $group stage, the $group stage should follow a _______ stage to have the input documents in a defined order.
1. $order
2. $sort
3. $asc
4. None of the mentioned
Answer :   2 - $sort  

* Be the First to Post a Comment.

Submit comment :


Captcha Image
Reload

Ask Question

Captcha Image
Reload

Note : Name and Email never shown.





Subscribe


Become a part of EducationForever. Subscribe to our FREE Newsletter