#35793: Add support for atomic upserts
-------------------------------------+-------------------------------------
     Reporter:  Storm Heg            |                    Owner:  (none)
         Type:  New feature          |                   Status:  closed
    Component:  Database layer       |                  Version:
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:  wontfix
     Keywords:                       |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Sarah Boyce):

 * resolution:   => wontfix
 * status:  new => closed

Comment:

 Hi Storm!

 I think it might be worth asking on the
 [https://forum.djangoproject.com/c/internals/5 Django forum] for
 help/input and then confirming if something new would need adding to
 Django (and what that would look like).
 We also ask contributors to get feedback from the community through a
 forum discussion first, so we can confirm there is community consensus
 that we should add this feature

 If you get positive feedback from the forum, can you link it back here and
 reopen the ticket?

 It feels like what you need might be possible using a combination of
 `force_insert` and
 [https://docs.djangoproject.com/en/5.1/ref/models/instances/#updating-
 attributes-based-on-existing-fields F expressions], but I'm not sure if I
 followed completely and I could be wrong
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35793#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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107019235db2d38-099035e5-a91a-4977-a93c-c2a5544751be-000000%40eu-central-1.amazonses.com.

Reply via email to