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):
187
187
extra_conditions .append (
188
188
extra .replace_expressions (replacements ).as_mql (compiler , connection )
189
189
)
190
- # pushed_filter_expression is a filter expression from the outer WHERE
190
+ # pushed_filter_expression is a Where expression from the outer WHERE
191
191
# clause that involves fields from the joined (right-hand) table and
192
192
# possibly the outer (left-hand) table. If it can be safely evaluated
193
193
# 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
32
32
databases.
33
33
- :meth: `QuerySet.explain() <django.db.models.query.QuerySet.explain> ` now
34
34
:ref: `returns a string that can be parsed as JSON <queryset-explain >`.
35
+
36
+ Performance improvements
37
+ ------------------------
38
+
35
39
- 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.
36
42
37
43
5.2.0 beta 1
38
44
============
You can’t perform that action at this time.
0 commit comments