Skip to content

Commit bc3697d

Browse files
committed
Fix comment in first person.
1 parent 4135f34 commit bc3697d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

django_mongodb_backend/compiler.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -553,8 +553,9 @@ def get_lookup_pipeline(self):
553553
where = self.get_where()
554554
promote_filters = defaultdict(list)
555555
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.
556+
# Only basic lookups are pushed, no subqueries or complex
557+
# conditions. To avoid duplication across subqueries,
558+
# only the LHS target table is used.
558559
if (
559560
isinstance(expr, Lookup)
560561
and isinstance(expr.lhs, Col)

0 commit comments

Comments
 (0)