#27849: Add SQL 2003 FILTER syntax support with Case(When()) fallback to
aggregates
-------------------------------------+-------------------------------------
Reporter: Tom Forbes | Owner: Tom
| Forbes
Type: New feature | Status: closed
Component: Database layer | Version: master
(models, ORM) |
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Tim Graham <timograham@…>):
In [changeset:"b43acf22dfa59815a1f4db0558acd98816325f66" b43acf22]:
{{{
#!CommitTicketReference repository=""
revision="b43acf22dfa59815a1f4db0558acd98816325f66"
Refs #27849 -- Removed empty Q() hack in filtered Aggregate.as_sql().
This required allowing WhereNode to be provided as When(condition).
This was made possible by cf12257db23fa248c89a3da3f718aa01a50ca659.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/27849#comment:11>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/061.b429e1c670fe3cad5d16df9f06e51f2c%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.