Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
0ssigeno committed Sep 26, 2024
1 parent f2e163d commit e2cbc3b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions atlasq/queryset/transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,7 @@ def transform(self) -> Tuple[List[Dict], List[Dict], List[Dict]]:
aggregation = self._contains(path, value, "$eq")
else:
aggregation = self._contains(path, value, comparison_keyword)
# we are merging together the contains, because in the 100% of cases we want to match the same object
for j, aggr in enumerate(other_aggregations):
if path in aggr:
# if we have another path__contains__keyword, we merge them
Expand Down

0 comments on commit e2cbc3b

Please sign in to comment.