#32381: Include number of rows matched in bulk_update() return value
-------------------------------------+-------------------------------------
Reporter: Chris Jerdonek | Owner: Manav
| Agarwal
Type: New feature | Status: assigned
Component: Database layer | Version: master
(models, ORM) |
Severity: Normal | Resolution:
Keywords: bulk_update | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Tim McCurrach):
I took a look at this yesterday and due to the way bulk_update treats
duplicates in `objs` this might not be quite so straight forward as simply
summing the returned values from repeated `update()` calls. Duplicates
split between batches will be counted twice.
See https://code.djangoproject.com/ticket/32388
--
Ticket URL: <https://code.djangoproject.com/ticket/32381#comment:8>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.4a919c6bd1ea3f5e2afdce912acc1693%40djangoproject.com.