mirror of
https://github.com/django/django.git
synced 2025-08-22 03:24:21 +00:00
Fixed #33141 -- Renamed Expression.empty_aggregate_value to empty_result_set_value.
This commit is contained in:
parent
9466fd7842
commit
ad36a198a1
8 changed files with 22 additions and 21 deletions
|
@ -150,10 +150,10 @@ class Combinable:
|
|||
class BaseExpression:
|
||||
"""Base class for all query expressions."""
|
||||
|
||||
empty_result_set_value = NotImplemented
|
||||
# aggregate specific fields
|
||||
is_summary = False
|
||||
_output_field_resolved_to_none = False
|
||||
empty_aggregate_value = NotImplemented
|
||||
# Can the expression be used in a WHERE clause?
|
||||
filterable = True
|
||||
# Can the expression can be used as a source expression in Window?
|
||||
|
@ -797,7 +797,7 @@ class Value(SQLiteNumericMixin, Expression):
|
|||
return fields.UUIDField()
|
||||
|
||||
@property
|
||||
def empty_aggregate_value(self):
|
||||
def empty_result_set_value(self):
|
||||
return self.value
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue