Compass thinks a query using $expr and $or (probably other logical operations as well) is not proper syntax.
A query like:
{ $expr: { $or: [ true, true ] } }
should be valid, but isn't, though the following does work:
{ $expr: { $in: [ true, true ] } }
How about adding a checkbox to Compass along the lines of:
"Yeah I know you think the query syntax is incorrect, but execute the @#%$ing query anyway"
....so that when we run into valid queries that Compass doesn't understand, we can still make progress?
- causes
-
COMPASS-4146 Disable validation in agg builder, query bar and schema validation
- Closed