#28333: Filter and subquery for window expressions
-------------------------------------+-------------------------------------
Reporter: Mads Jensen | Owner: nobody
Type: New feature | Status: new
Component: Database layer | Version: master
(models, ORM) |
Severity: Normal | Resolution:
Keywords: window orm filter | Triage Stage: Accepted
subquery |
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Bernd Wechner):
This is 2 years old with no action and I am very keen to see it
implemented (need it rather badly).
It strikes me as an aside that a more general approach may kill more birds
with one stone. I noticed the rather excellent ExpressionWrapper(), and it
struck me that a QueryWrapper() would be a more general solution that
covers this particular need and will cover others as well, known and
unknown at present.
In short QueryRapper would simply make an inner query of the QuerySet to
date so that subsequent operations act upon it as if it were a table.
--
Ticket URL: <https://code.djangoproject.com/ticket/28333#comment:2>
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/068.92a244e59659747d14f081dc4af87e57%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.