[COMPASS-4136] Cannot issue $expr $or query in Compass. Created: 06/Feb/20 Updated: 29/Oct/23 Resolved: 24/Mar/20 |
|
| Status: | Closed |
| Project: | Compass |
| Component/s: | Compass, Grammar |
| Affects Version/s: | 1.20.3 |
| Fix Version/s: | 1.22.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Andrzej Taramina | Assignee: | Durran Jordan |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Compass 1.20.4, MongoDB 4.2.3. Ubuntu Linux 18.04 |
||
| Issue Links: |
|
||||||||
| Sprint: | Iteration Zebra | ||||||||
| Description |
|
Compass thinks a query using $expr and $or (probably other logical operations as well) is not proper syntax. A query like:
should be valid, but isn't, though the following does work:
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? |