1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

Fixed #33141 -- Renamed Expression.empty_aggregate_value to empty_result_set_value.

This commit is contained in:
David Wobrock
2021-09-24 22:05:02 +02:00
committed by Mariusz Felisiak
parent 9466fd7842
commit ad36a198a1
8 changed files with 22 additions and 21 deletions

View File

@@ -318,8 +318,9 @@ Models
* :meth:`.QuerySet.bulk_update` now returns the number of objects updated.
* The new :attr:`.Aggregate.empty_aggregate_value` attribute allows specifying
a value to return when the aggregation is used over an empty result set.
* The new :attr:`.Expression.empty_result_set_value` attribute allows
specifying a value to return when the function is used over an empty result
set.
* The ``skip_locked`` argument of :meth:`.QuerySet.select_for_update()` is now
allowed on MariaDB 10.6+.