Skip to content

Commit 3f16ead

Browse files
committed
Edits.
1 parent 8101a1b commit 3f16ead

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

django_mongodb/expressions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ def case(self, compiler, connection):
5151

5252

5353
def col(self, compiler, connection): # noqa: ARG001
54-
# If it is a subquery and the columns belongs to one of the ancestors,
55-
# the column shall be stored to be passed using $let in a $lookup stage.
54+
# If the column is part of a subquery and belongs to one of the parent queries,
55+
# it will be stored for reference using $let in a $lookup stage.
5656
if (
5757
self.alias not in compiler.query.alias_refcount
5858
or compiler.query.alias_refcount[self.alias] == 0

0 commit comments

Comments
 (0)