import { mongoose } from "https://deno.land/x/mongoose@8.4.0/types/index.d.ts";
const { sanitizeFilter } = mongoose;
Sanitizes query filters against query selector injection attacks by wrapping
any nested objects that have a property whose name starts with $
in a $eq
.
Parameters
filter: FilterQuery<T>