#31573: Support update().order_by() on MySQL.
-------------------------------------+-------------------------------------
     Reporter:  Gerben Morsink       |                    Owner:  David
                                     |  Chorpash
         Type:  New feature          |                   Status:  assigned
    Component:  Database layer       |                  Version:  master
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:  update mysql order   |             Triage Stage:  Accepted
  order_by                           |
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Adam (Chainz) Johnson):

 I don't think it's possible to support `.update().order_by()` because
 `update()` doesn't return another queryset, but instead actually does the
 update and returns the number of rows. Supporting only the
 `.order_by().update()` syntax seems fine to me.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/31573#comment:7>
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.30581de8c6a001db9a96940ed226c4bc%40djangoproject.com.

Reply via email to