Changes between Initial Version and Version 14 of Ticket #16891
- Timestamp:
- Feb 24, 2012, 3:07:56 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #16891
- Property Owner changed from to
- Property Component Uncategorized → Database layer (models, ORM)
- Property Triage Stage Unreviewed → Accepted
- Property Type Uncategorized → New feature
- Property Has patch set
- Property Summary Delete/update should return number of rows modified → [patch] queryset delete should return number of rows matched
- Property Cc added
- Property Patch needs improvement set
-
Ticket #16891 – Description
initial v14 1 Splitting this off from ticket 16549...1 Splitting this off from ticket #16549... 2 2 3 3 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. … … 12 12 with consideration for transaction control/mgmt. 13 13 14 * https://code.djangoproject.com/ticket/1654914 **Update from comment thread**: queryset update already returns rows-matched (and this can't be changed to rows-changed without breaking other things). So it is only deletes that need this change.