#10929: Support a default value for Sum (and possibly other aggregation
functions)
-------------------------------------+-------------------------------------
Reporter: nolan | Owner: Nick Pope
Type: New feature | Status: assigned
Component: Database layer | Version: master
(models, ORM) |
Severity: Normal | Resolution:
Keywords: aggregate annotate | Triage Stage: Accepted
default |
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Nick Pope):
* owner: Barton Ip => Nick Pope
* needs_better_patch: 1 => 0
* needs_docs: 1 => 0
Comment:
I have produced an implementation using `Coalesce` for all aggregates
other than `Count`.
See the new [https://github.com/django/django/pull/14026 PR].
--
Ticket URL: <https://code.djangoproject.com/ticket/10929#comment:27>
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/063.8c6446ee3e41d949188bee4968efc248%40djangoproject.com.