#26608: Add a window function expression
-------------------------------------+-------------------------------------
Reporter: Jamie Cockburn | Owner: Mads
| Jensen
Type: New feature | Status: assigned
Component: Database layer | Version: master
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mads Jensen):
* version: 1.9 => master
Comment:
Current PR aims to add support for MariaDB (it seems that MariaDB will be
an officially supported backend in a future release), annotations are
added in the test suite for functions that aren't implemented; it has been
tested locally against a release candidate of MariaDB 10.2.
All backends have some limitations, e.g., PostgreSQL disallows use
together with `FOR SHARE/UPDATE`. Uncertain how much of these backend
restrictions that can be highlighted in the documentation, and how much
that should be handled by raising warnings.
Improvement ideas are welcome. I'm content with some parts, such as the
actual functions and the `filterable`-check. However, the syntax for
ordering seems a bit clumsy, although it's difficult to see a different
way than to use a wrapper (`ExpressionList`) to add support for
`DESC`/`ASC` for both expressions and columns.
--
Ticket URL: <https://code.djangoproject.com/ticket/26608#comment:10>
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/064.c4a6d2466085a76e8dde15a64f2c5afe%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.