Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
1.15.1
-
Iteration Zebra
Description
In the mongo shell, the $not operator is allowed and documented for use against regular expressions.
db.inventory.find( { item: { $not: /^p.*/ } } )
However, the Compass query bar does not accept this query.
Please refer to the screenshots with both standard regex expression and $regex.
Attachments
Issue Links
- causes
-
COMPASS-4146 Disable validation in agg builder, query bar and schema validation
-
- Closed
-
- related to
-
COMPASS-3527 Add support for $not with $regex
-
- Closed
-