#33343: update_or_create seems to issue wrongly limited query to the database -------------------------------------+------------------------------------- Reporter: Florian Apolloner | Owner: nobody Type: Bug | Status: closed Component: Database layer | Version: dev (models, ORM) | Severity: Normal | Resolution: invalid Keywords: | Triage Stage: | Unreviewed Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 1 | UI/UX: 0 -------------------------------------+------------------------------------- Changes (by Mariusz Felisiak):
* status: new => closed * resolution: => invalid Comment: `update_or_create()` uses `get()` and this is an intended optimization, see #6785 and 330638b89f14e1fb06e9d313ccc9768ae167c53f. -- Ticket URL: <https://code.djangoproject.com/ticket/33343#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/066.38c2e3cc38fabdc519f09ddb50dfa6d9%40djangoproject.com.