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 mentioned
This 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