import { type mongoose } from "https://deno.land/x/mongoose@7.6.12/types/expressions.d.ts";
const { Filter } = mongoose.Expression;
Properties
$filter: { input: ArrayExpression; as?: string; cond: BooleanExpression; limit?: NumberExpression; }
Selects a subset of the array to return an array with only the elements that match the filter condition.