#28643: Complete the ORM Function Library
-------------------------------------+-------------------------------------
Reporter: Matthew Pava | Owner: JunyiJ
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
-------------------------------------+-------------------------------------
Changes (by Shai Berger):
* cc: Shai Berger (added)
Comment:
Replying to [comment:12 Matthew Pava]:
>
> I was also wondering about the use of Trim. Python doesn't use that
term; instead, it uses strip. I wonder if that really matters. Some
developers may look for a strip functionality in Django ORM not realizing
that the databases use the term Trim. Perhaps that could be clarified in
the documentation.
Unless there is some other use for the term `strip` in the databases, I'd
consider "documenting" this by giving an alias:
{{{
class Trim(Transform):
# ...
Strip = Trim # Give Trim a more Pythonic name
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/28643#comment:13>
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.6184dbd9e330c38410628298e8f353bf%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.