1.

The __________ method limits the number of documents in the result set.(a) limit()(b) limitOf()(c) limitBy()(d) none of the mentionedThis question was posed to me in a national level competition.I want to ask this question from Getting Started with MongoDB in chapter MongoDB CRUD Concepts and Operation of MongoDB

Answer»

The CORRECT CHOICE is (a) limit()

For EXPLANATION I would SAY: limit() corresponds to the LIMIT STATEMENT in SQL.



Discussion

No Comment Found

Related InterviewSolutions