Changes between Initial Version and Version 14 of Ticket #16891


Ignore:
Timestamp:
Feb 24, 2012, 3:07:56 PM (13 years ago)
Author:
Carl Meyer
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16891

    • Property Owner changed from nobody to Steven Cummings
    • Property Component UncategorizedDatabase layer (models, ORM)
    • Property Triage Stage UnreviewedAccepted
    • Property Type UncategorizedNew 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 Sergey Kolosov added
    • Property Patch needs improvement set
  • Ticket #16891 – Description

    initial v14  
    1 Splitting this off from ticket 16549...
     1Splitting this off from ticket #16549...
    22
    33Deep 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.
     
    1212with consideration for transaction control/mgmt.
    1313
    14 * https://code.djangoproject.com/ticket/16549
     14**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.
Back to Top