mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
[4.0.x] Fixed #33141 -- Renamed Expression.empty_aggregate_value to empty_result_set_value.
Backport of ad36a198a1 from main
This commit is contained in:
committed by
Mariusz Felisiak
parent
cebac15931
commit
aab76433ed
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user