Explanation:$ifNull returns the result of the second expression if the first expression results in a null result. 10. 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
Answer:A
Explanation:$ifNull returns the result of the second expression if the first expression results in a null result. 10. 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
Explanation:$last has the following syntax: { $last: }. Sanfoundry Global Education & Learning Series – MongoDB.