mirror of
https://github.com/django/django.git
synced 2025-11-03 05:13:23 +00:00
The introduction of the Expression.empty_aggregate_value interface allows the compilation stage to enable the EmptyResultSet optimization if all the aggregates expressions implement it. This also removes unnecessary RegrCount/Count.convert_value() methods. Disabling the empty result set aggregation optimization when it wasn't appropriate prevented None returned for a Count aggregation value. Thanks Nick Pope for the review. |
||
|---|---|---|
| .. | ||
| class.txt | ||
| conditional-expressions.txt | ||
| constraints.txt | ||
| database-functions.txt | ||
| expressions.txt | ||
| fields.txt | ||
| index.txt | ||
| indexes.txt | ||
| instances.txt | ||
| lookups.txt | ||
| meta.txt | ||
| options.txt | ||
| querysets.txt | ||
| relations.txt | ||