#32406: Allow QuerySet.update() to return fields on supported backends.
     Reporter:  Tom Carrick          |                    Owner:  Aivars
                                     |  Kalvāns
         Type:  New feature          |                   Status:  assigned
    Component:  Database layer       |                  Version:  dev
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0

Comment (by Aivars Kalvāns):

 Just because the {{{update}}} is returning the number of rows updated. I
 can do the same with {{{Foo.objects.update(x="newx", returning=True)}}}
 assuming no model will have a {{{returning}}} field. Whatever fits best, I
 just want to be able to do {{{returning}}} without executing a raw SQL.

Ticket URL: <https://code.djangoproject.com/ticket/32406#comment:14>
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 view this discussion on the web visit 

Reply via email to