Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-3277

Using variables in query

    • Type: Icon: Task Task
    • Resolution: Won't Fix
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Compass
    • Labels:

      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. 

            Assignee:
            Unassigned Unassigned
            Reporter:
            vladimir.camaj@gmail.com Vladimír Čamaj
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: