1
0
mirror of https://github.com/django/django.git synced 2025-10-24 14:16:09 +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

@@ -1367,7 +1367,7 @@ class AggregateTestCase(TestCase):
'books_count': 0,
}
)
# Expression without empty_aggregate_value forces queries to be
# Expression without empty_result_set_value forces queries to be
# executed even if they would return an empty result set.
raw_books_count = Func('book', function='COUNT')
raw_books_count.contains_aggregate = True