#32333: _raw_delete won't work as expected on union'ed QuerySets
-------------------------------------+-------------------------------------
Reporter: Faham | Owner: nobody
Negini |
Type: | Status: new
Uncategorized |
Component: Database | Version: 2.2
layer (models, ORM) |
Severity: Normal | Keywords: _raw_delete, union
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
I have multiple QuerySets combined into one through `union`, calling
_raw_delete on this combined QuerySet won't delete the union result of all
sub QuerySets.
`Q1.union(Q2)._raw_delete()` removes only results of Q1 while it's
expected to remove results of `Q1.union(Q2)`
--
Ticket URL: <https://code.djangoproject.com/ticket/32333>
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/048.8a9d209f9932c4b010ba8a01bc2c002d%40djangoproject.com.