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 4135f34 commit bc3697dCopy full SHA for bc3697d
django_mongodb_backend/compiler.py
@@ -553,8 +553,9 @@ def get_lookup_pipeline(self):
553
where = self.get_where()
554
promote_filters = defaultdict(list)
555
for expr in where.children if where and where.connector == AND else ():
556
- # Push only basic lookups (no subqueries or complex conditions).
557
- # We push by LHS alias to avoid duplication across subqueries.
+ # Only basic lookups are pushed, no subqueries or complex
+ # conditions. To avoid duplication across subqueries,
558
+ # only the LHS target table is used.
559
if (
560
isinstance(expr, Lookup)
561
and isinstance(expr.lhs, Col)
0 commit comments