File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -187,7 +187,7 @@ def _get_reroot_replacements(expression):
187187 extra_conditions .append (
188188 extra .replace_expressions (replacements ).as_mql (compiler , connection )
189189 )
190- # pushed_filter_expression is a filter expression from the outer WHERE
190+ # pushed_filter_expression is a Where expression from the outer WHERE
191191 # clause that involves fields from the joined (right-hand) table and
192192 # possibly the outer (left-hand) table. If it can be safely evaluated
193193 # within the $lookup pipeline (e.g., field comparisons like
Original file line number Diff line number Diff line change @@ -32,7 +32,13 @@ Bug fixes
3232 databases.
3333- :meth: `QuerySet.explain() <django.db.models.query.QuerySet.explain> ` now
3434 :ref: `returns a string that can be parsed as JSON <queryset-explain >`.
35+
36+ Performance improvements
37+ ------------------------
38+
3539- Improved ``QuerySet `` performance by removing low limit on server-side chunking.
40+ - Improved ``QuerySet `` join (``$lookup ``) performance by pushing some simple
41+ conditions from the ``WHERE `` (``$match ``) clause to the ``$lookup `` stage.
3642
37435.2.0 beta 1
3844============
You can’t perform that action at this time.
0 commit comments