#33391: Meaning of empty_result_set_value documentation
------------------------------------------------+------------------------
Reporter: Claude Paroz | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Documentation | Version: 4.0
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
------------------------------------------------+------------------------
While translating the new docs, I struggled to understand the meaning of
this sentence about `Aggregate.empty_result_set_value`:
Override empty_result_set_value to None since most aggregate functions
result in NULL when applied to an empty result set.
It's totally possible my limited English prevents me understanding this,
in that case, maybe someone may explains that to me?
https://docs.djangoproject.com/en/4.0/ref/models/expressions/#django.db.models.Aggregate.empty_result_set_value
--
Ticket URL: <https://code.djangoproject.com/ticket/33391>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/050.a3b169776daf72a1eb9d5116e9813d7f%40djangoproject.com.