#33770: Add bulk_update() support for unique fields instead of only primary key
-------------------------------------+-------------------------------------
     Reporter:  Ebram Shehata        |                    Owner:  nobody
         Type:  New feature          |                   Status:  closed
    Component:  Database layer       |                  Version:  4.0
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:  wontfix
     Keywords:  models, orm          |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  1
  Needs tests:  1                    |  Patch needs improvement:  1
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Carlton Gibson):

 * status:  new => closed
 * needs_better_patch:  0 => 1
 * resolution:   => wontfix
 * needs_tests:  0 => 1
 * needs_docs:  0 => 1


Comment:

 Hi Ebram. Welcome. Thanks!

 Can I ask you to send this to the DevelopersMailingList to get more eyes
 on it, and see if it's a change worth adding?
 (I'll close the ticket now, but we'll reopen if there's a consensus to add
 the feature.)

 When you post, can you add a bit more as to why you think this is useful?
 I can't immediately see why  it matters, given that I have the objects in
 hand 🤔

 > I also have a question about that function, we can't use it to update
 primary keys.. I'm wondering why ? I want to also add that support to it.

 The mailing list is a better place to discuss this as well.

 >...what to do to reserve the implementation for me...

 If there's agreement to add, you can assign the ticket to yourself.
 (There's not often contention in these areas 🙂)

 Ref the PR: I appreciate this is just a first proof-of-concept but, all
 changes need test coverage and docs.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/33770#comment:1>
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/0107018138527aa6-af0ea0b0-cb8e-456f-8d6f-92b7f566d3e8-000000%40eu-central-1.amazonses.com.

Reply via email to