adplus-dvertising
frame-decoration

Question

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

Posted under MongoDB

Answer: (b).$last

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the following returns the value that results from applying an expression to the last document?