#24767: Add GREATEST and LEAST Query Expressions
-------------------------------------+-------------------------------------
Reporter: Ian-Foote | Owner: Ian-Foote
Type: New feature | Status: assigned
Component: Database layer | Version: master
(models, ORM) |
Severity: Normal | 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 Ian-Foote):
I've started work on this on
[https://github.com/django/django/compare/master...Ian-Foote:greatest-
least-expressions a branch]. It works for postgres, but I'm not sure how
to go about extending it to other databases. I assume I need to start
overwriting the `as_vendorname` methods, but it's not clear to me what to
put in them.
Also, should I be using `as_postgres` instead of defaulting to the
postgres behaviour?
--
Ticket URL: <https://code.djangoproject.com/ticket/24767#comment:5>
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/067.095b7bf062bfe93e197cf39f787af57a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.