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 ce02be3 commit 1311c43Copy full SHA for 1311c43
django_mongodb/compiler.py
@@ -461,7 +461,7 @@ def get_combinator_queries(self):
461
# Raise EmptyResultSet if all the combinator queries are empty.
462
if not parts:
463
raise EmptyResultSet
464
- combinator_pipeline = parts.pop(0)[0].get_pipeline() if parts else None
+ combinator_pipeline = parts.pop(0)[0].get_pipeline()
465
if self.query.combinator == "union":
466
for part, collection in parts:
467
combinator_pipeline.append(
0 commit comments