mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #33141 -- Renamed Expression.empty_aggregate_value to empty_result_set_value.
This commit is contained in:
committed by
Mariusz Felisiak
parent
9466fd7842
commit
ad36a198a1
@@ -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