import { type mongoose } from "https://deno.land/x/mongoose@7.8.2/types/expressions.d.ts";
const { Integral } = mongoose.Expression;
Properties
$integral: { input: NumberExpression; unit?: DateUnit; }
Returns the approximation of the area under a curve, which is calculated using the trapezoidal rule where each set of adjacent documents form a trapezoid using the: