import { type mongoose } from "https://deno.land/x/mongoose@7.8.2/types/expressions.d.ts";
const { Sum } = mongoose.Expression;
Properties
$sum: number | Expression | Expression[]
Calculates and returns the collective sum of numeric values. $sum ignores non-numeric values.