Using variables in query

XMLWordPrintableJSON

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

      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
            Reporter:
            Vladimír Čamaj
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: