[COMPASS-3485] $expr query is not valid Created: 06/Mar/19 Updated: 29/Oct/23 Resolved: 26/Apr/19 |
|
| Status: | Closed |
| Project: | Compass |
| Component/s: | Compass, Query |
| Affects Version/s: | 1.17.0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Pierre Bazoge | Assignee: | Alena Khineika |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
MacOS Mojave |
||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Documentation Changes: | Not Needed | ||||||||
| Sprint: | Iteration Antelope, Iteration Bison, Iteration Cat | ||||||||
| Description |
|
The filter expression is not valid when using $expr to query documents. Example: {$expr: {$gt: [15,10]}}
I use Compass to test complex queries before implementing them, but the validator is not working well, and it's not the first time... maybe we could get rid of the validator in a future release? A DB error is better than a broken validator... |
| Comments |
| Comment by Githook User [ 29/Apr/19 ] |
|
Author: {'email': 'alenakhineika@users.noreply.github.com', 'name': 'Alena Khineika', 'username': 'alenakhineika'}Message:
|
| Comment by Githook User [ 26/Apr/19 ] |
|
Author: {'name': 'Alena Khineika', 'username': 'alenakhineika', 'email': 'alenakhineika@users.noreply.github.com'}Message:
|
| Comment by Githook User [ 26/Apr/19 ] |
|
Author: {'name': 'Alena Khineika', 'username': 'alenakhineika', 'email': 'alenakhineika@users.noreply.github.com'}Message:
|
| Comment by Githook User [ 26/Apr/19 ] |
|
Author: {'email': 'alenakhineika@users.noreply.github.com', 'name': 'Alena Khineika', 'username': 'alenakhineika'}Message:
|
| Comment by Githook User [ 26/Apr/19 ] |
|
Author: {'email': 'alenakhineika@users.noreply.github.com', 'name': 'Alena Khineika', 'username': 'alenakhineika'}Message:
|
| Comment by Githook User [ 15/Apr/19 ] |
|
Author: {'name': 'Alena Khineika', 'username': 'alenakhineika', 'email': 'alena.khineika@gmail.com'}Message: |