1.

________ limits the number of documents in result set.(a) $project(b) $geo(c) $limit(d) None of the mentionedThe question was asked during a job interview.I need to ask this question from SQL to Aggregation Mapping Chart in portion Aggregation Concepts and Aggregation Mechanics of MongoDB

Answer»

Right option is (c) $LIMIT

The BEST EXPLANATION: $limit takes a positive integer that SPECIFIES the maximum number of documents to pass along.



Discussion

No Comment Found

Related InterviewSolutions