Hi there
Not sure if I'm doing something wrong, but I have a query along the lines of:
FOR d IN collection
FILTER @names_to_lookup ANY in d.possible_names RETURN d
If I specify in the Queries editor names_to_lookup in the single-quotes form:
['name1', 'name2']
then it seems like it's treated as a string instead of an array, and thus I get no results back.
However, when I specify in the Queries editor that names_to_lookup in the double-quotes form:
["name1", "name2"]
then it seems like it's treated as an array (as intended) and I get the expected results back.
I'm not sure if this is a bug or a feature. While It's easy enough to accept using double quotes in the case of the query editor, this is more problematic for me since I'm relying on the Python-Mango driver where I have less control over the matter and where it seems at least sometimes, a passed-in list comes out in the double-quote form and other times in the single-quote form.