#16891: 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
-------------------------------------+-------------------------------------
Changes (by estebistec):
* has_patch: 0 => 1
Comment:
I haven't gotten much feedback on this ticket, but what I've gotten so far
has convinced me to back off of any changes to the base Model API.
UpdateQuery already returned rowcounts, which means that only DeleteQuery
needed updating. So, the patch is pretty tiny as you can see.
--
Ticket URL: <https://code.djangoproject.com/ticket/16891#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 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.