#29049: Add slicing notation to F expressions
-------------------------------------+-------------------------------------
Reporter: Matthew | Owner: nobody
Pava |
Type: New | Status: new
feature |
Component: Database | Version: master
layer (models, ORM) |
Severity: Normal | Keywords: slice F
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
For fields that are string expressions, the slicing notation should
utilize database functions `Substr`, `Left`, and `Right`. Those functions
could even be deprecated to require the use of slicing notation.
For fields that are iterable expressions, such as `ArrayField`s or
`HStoreField`s, those could utilize slicing notation in a Pythonic manner.
--
Ticket URL: <https://code.djangoproject.com/ticket/29049>
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/049.5b70fdb179eb8429d60cb16c45564c31%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.