[COMPASS-3277] Using variables in query Created: 21/Nov/18 Updated: 22/Mar/19 Resolved: 22/Mar/19 |
|
| Status: | Closed |
| Project: | Compass |
| Component/s: | Compass |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Minor - P4 |
| Reporter: | Vladimír Čamaj | Assignee: | Unassigned |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | feature | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Description |
|
Hi, I would like to use variables in Compass queries also in aggregations like var myArr = ['John', 'Adele', 'Paris'] and then use it in queries like {"name": {$in: myArr}}. There can be something like integrated console in Compass which allows me to create a variables. That's all. Thanks for watching. |
| Comments |
| Comment by Massimiliano Marcon [ 22/Mar/19 ] |
|
When Compass will have an embedded shell, it will be possible to use variables in the same way it is possible in the shell. |