#32381: Include number of rows matched in bulk_update() return value
-------------------------------------+-------------------------------------
Reporter: Chris Jerdonek | Owner: nobody
Type: New feature | Status: new
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: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Simon Charette):
> More usefully, though, if update() were ever to grow the ability to
report not just the number of rows matched but also the number of rows
changed, that would definitely be of interest.
Given that would likely require a signature change to `update` if we ever
want to support it I think that making `bulk_update` return the sums of
its `update`s should be good enough for now.
--
Ticket URL: <https://code.djangoproject.com/ticket/32381#comment:4>
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.90a5065ab6851f76b7fa13ffed6645b1%40djangoproject.com.