#36213: Document that QuerySet.update can execute two separate SQL queries when
using MySQL
-------------------------------------+-------------------------------------
     Reporter:  Babak                |                    Owner:  (none)
         Type:                       |                   Status:  new
  Cleanup/optimization               |
    Component:  Documentation        |                  Version:  dev
     Severity:  Normal               |               Resolution:
     Keywords:  mysql self-select    |             Triage Stage:  Accepted
  race-condition                     |
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Comment (by Simon Charette):

 In stand corrected, `QuerySet.delete` on MySQL
 
[https://github.com/django/django/blob/5a1cae3a5675c5733daf5949759476d65aa0e636/django/db/models/sql/compiler.py#L2015-L2019
 also performs the] same materialization when a referenced table is
 involved.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36213#comment:7>
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 visit 
https://groups.google.com/d/msgid/django-updates/01070195448fc087-d3e977aa-646b-4d3b-9b76-54d2eda2bb69-000000%40eu-central-1.amazonses.com.

Reply via email to