#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 David Chorpash):

 I would like to give a quick update.

 I am able to get the following to work with MySQL on a unique constraint
 field:
 {{{
 QuerySet.order_by().update()
 }}}

 but I am still working on
 {{{
 QuerySet.update().order_by()
 }}}

 I'm also unsure how to add a feature flag here (I'm still new).  I'm not
 sure if I just missed it in the documentation, but if anyone could point
 me in the right direction, that would be greatly appreciated!

-- 
Ticket URL: <https://code.djangoproject.com/ticket/31573#comment:6>
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.d5f666cd7dc3fd00d84022a2673422ea%40djangoproject.com.

Reply via email to