mongodb :: MongoGroup :: max
https://docs.mongodb.com/manual/reference/operator/aggregation/max/
{ $max: <expression> }
$max
compares both value and type, using the specified BSON comparison
order for values of different types.
# Returns the maximum value
#
# https://docs.mongodb.com/manual/reference/operator/aggregation/max/
#
# ~~~json
# { $max: <expression> }
# ~~~
#
# `$max` compares both value and type, using the specified BSON comparison
# order for values of different types.
fun max(field: String, expression: Serializable): MongoGroup do
return acc("max", field, expression)
end
lib/mongodb/queries.nit:576,2--588,4