OPTIONS

$max (aggregation)

$max

Returns the highest value among all values of the field in all documents selected by this group.

ON THIS PAGE