import { type mongoose } from "https://deno.land/x/mongoose@7.8.2/types/expressions.d.ts";
const { Max } = mongoose.Expression;
Properties
$max: Expression | Expression[]
Returns the maximum value. $max compares both value and type, using the specified BSON comparison order for values of different types.