import { type mongoose } from "https://deno.land/x/mongoose@8.6.4/types/expressions.d.ts";
const { Cmp } = mongoose.Expression;
Properties
$cmp: [Record<string, AnyExpression> | Expression, Record<string, AnyExpression> | Expression]
Returns 0 if the two values are equivalent, 1 if the first value is greater than the second, and -1 if the first value is less than the second.