#16891: [patch] Delete/update should return number of rows modified
-------------------------------------+-------------------------------------
     Reporter:  estebistec           |                    Owner:
         Type:  New feature          |  estebistec
    Component:  Database layer       |                   Status:  new
  (models, ORM)                      |                  Version:  1.3
     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 estebistec):

 Replying to [comment:11 kmtracey]:
 > No, I don't think update() can be switched to start returning the
 actually-modified row count rather than matched row count. See #17435 for
 why, the fix for that one is to clarify the doc.

 So I need to take a closer look here too and see if the delete() counts
 can mirror update() in that way.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/16891#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 post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to