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 101fe23 commit be0de57Copy full SHA for be0de57
django_mongodb/compiler.py
@@ -261,7 +261,7 @@ def pre_sql_setup(self, with_col_aliases=False):
261
for query in self.subqueries or ():
262
pipeline.extend(query.get_pipeline())
263
# Clean added subqueries.
264
- self.subqueries = None
+ self.subqueries = []
265
pipeline.append({"$match": {"$expr": having}})
266
self.aggregation_pipeline = pipeline
267
self.annotations = {
0 commit comments