Skip to content

Commit d093214

Browse files
committed
Update comment
1 parent 35cf5aa commit d093214

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

django_mongodb_backend/aggregates.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def count(self, compiler, connection, resolve_inner_expression=False):
7070
if resolve_inner_expression:
7171
return lhs_mql
7272
return {"$sum": lhs_mql}
73-
# Normalize empty documents (introduced upstream) to an empty set fallback.
73+
# Normalize empty documents (introduced by aggregation wrapping) to an empty set fallback.
7474
agg_expression = Coalesce(agg_expression, [])
7575
# If distinct=True or resolve_inner_expression=False, sum the size of the
7676
# set.

0 commit comments

Comments
 (0)