#35399: Reduce the "Case-When" sequence for a bulk_update when the values for a
certain field are the same.
-------------------------------------+-------------------------------------
     Reporter:  Willem Van Onsem     |                    Owner:  nobody
         Type:                       |                   Status:  closed
  Cleanup/optimization               |
    Component:  Database layer       |                  Version:  5.0
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:  duplicate
     Keywords:  db, bulk_update,     |             Triage Stage:
  case, when                         |  Unreviewed
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Natalia Bidart):

 * resolution:   => duplicate
 * status:  new => closed
 * type:  New feature => Cleanup/optimization

Comment:

 Hello Willem, while the benchmarks are useful, considering Simon's
 responses and Django's usual procedures for accepting changes, I believe
 it would be best to continue the conversation in the forum topic that has
 already been created for this issue. This way, more members of the
 community will receive notifications from the forum, unlike ticket
 reports:

 https://forum.djangoproject.com/t/could-bulk-update-aggregate-the-pks-in-
 when-clauses/27093
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35399#comment:5>
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018f114b2b49-c8de0d03-7564-4f99-b68f-0e31de7b23a3-000000%40eu-central-1.amazonses.com.

Reply via email to