We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62ef1c8 commit 3b60e79Copy full SHA for 3b60e79
hash_data_api/datasources/mongo.py
@@ -30,9 +30,9 @@ def query(self, **kargs):
30
if operator == '=' and '[]' in property:
31
property = property.replace('[]', '')
32
if not filter.get(property):
33
- filter[property] = {'$in': []}
+ filter[property] = {'$all': []}
34
# TODO: find a better way to deal with arrays
35
- filter[property]['$in'].append(value)
+ filter[property]['$all'].append(value)
36
37
if operator == '>' and isinstance(value, datetime):
38
filter[property] = {
0 commit comments