

InterviewSolution
Saved Bookmarks
1. |
_______ reorders the document stream by a specified sort key.(a) $skip(b) $limit(c) $sort(d) None of the mentionedThe question was posed to me during an interview.My question comes from Aggregation Operations topic in portion Aggregation Concepts and Aggregation Mechanics of MongoDB |
Answer» CORRECT option is (c) $sort To elaborate: Only the order changes; the DOCUMENTS REMAIN UNMODIFIED. |
|