InterviewSolution
Saved Bookmarks
| 1. |
Which of the following returns the value that results from applying an expression to the last document?(a) $end(b) $last(c) $max(d) All of the mentionedThis question was addressed to me in semester exam.This interesting question is from Pipeline Operators topic in chapter Aggregation Concepts and Aggregation Mechanics of MongoDB |
|
Answer» RIGHT option is (b) $last To EXPLAIN: $last has the FOLLOWING syntax: { $last: |
|