#31947: QuerySet.update_or_create() should use get_or_create() internally
-------------------------------------+-------------------------------------
Reporter: homm | Owner: nobody
Type: | Status: new
Cleanup/optimization |
Component: Database | Version: 3.1
layer (models, ORM) |
Severity: Normal | Keywords:
Triage Stage: | Has patch: 1
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
`QuerySet.update_or_create()` internal method's logic perfectly repeats
`select_for_update().get_or_create()` methods chain logic.
--
Ticket URL: <https://code.djangoproject.com/ticket/31947>
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/047.9411b985172d2be4685a47371b497d70%40djangoproject.com.