#31060: Window expression are not allowed in conditional statements used only in
the SELECT clause.
-------------------------------------+-------------------------------------
Reporter: felixxm | Owner: Alex
| Aktsipetrov
Type: Bug | Status: assigned
Component: Database layer | Version: 3.0
(models, ORM) |
Severity: Release blocker | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Simon Charette):
Agreed that the comment is misleading, it has been for a while though. The
whole interactions between `_add_q`, `add_q`, and `build_filter` could
probably be better expressed as `add_q`, `_build_q`, and `build_filter` as
only `add_q` actually append nodes to the current query. The other methods
only make sure `query.aliases` contains `Join` references to table
necessary for the filter conditions.
--
Ticket URL: <https://code.djangoproject.com/ticket/31060#comment:7>
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/065.0d7542d7ec3b758abb774af60ca8ed5e%40djangoproject.com.