#16891: Delete/update should return number of rows modified
---------------------------+-------------------------------
 Reporter:  estebistec     |          Owner:  nobody
     Type:  Uncategorized  |         Status:  new
Milestone:                 |      Component:  Uncategorized
  Version:  1.3            |       Severity:  Normal
 Keywords:                 |   Triage Stage:  Unreviewed
Has patch:  0              |  Easy pickings:  0
    UI/UX:  0              |
---------------------------+-------------------------------
 Splitting this off from ticket 16549...

 Deep in the bowels of django.db the rows modified value from update and
 delete queries is ignored and discarded. For reasons discussed on ticket
 16549, it would sometimes be useful to have access to that value.

 Objective of this bug is to passively return rows-modified up through the
 call-stack and, ultimately, hopefully from each of:

 * Model.save()
 * Model.delete()
 * QuerySet.update()
 * QuerySet.delete()

 with consideration for transaction control/mgmt.

 * https://code.djangoproject.com/ticket/16549

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

Reply via email to