Skip to content

MONGO_OPERATORS

const MONGO_OPERATORS: readonly ["$lt", "$lte", "$gt", "$gte", "$ne", "$in", "$nin", "$or", "$and", "$contains"]

Defined in: mongo-filter.ts:10

Exactly the $-operators toMongoFilter accepts. Everything else — including the $like/$ilike/$notlike family, which this adapter does not support — is rejected with BadRequest via assertOperators; use the raw collection escape hatch with $regex for pattern matching instead.