Answer Posted / Vikash Singh
The limit() function in MongoDB is used to specify the maximum number of documents that should be returned in a find operation. It helps to limit the size of the result set, which can improve performance by reducing the amount of data that needs to be transferred and processed.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers