#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
-------------------------------------+-------------------------------------

Comment (by Matthew Pava):

 In regards to Left() and Right(), they are  available in PostgreSQL and
 MySQL, but not in SQLite or Oracle.  However, you can emulate their
 functionality using the corresponding Substr function in the database
 backend.  I would hate to see us leave those out for that reason alone.
 At the same time, developers could use the Substr across all databases
 instead of using Left and Right.

 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.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/28643#comment:12>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.753b30dd030e9ac54f7be63268d61cf8%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to