Reputation: 73
As the Django docs states, it supports async using a custom interface, with methods like get
being aget
. I'm trying to save my instances using update_or_create
method and I was wondering how can I convert this to an async context.
Upvotes: 6
Views: 1471
Reputation: 538
Django 4.1 async ORM interface also supports methods like update_or_create
. Its definition follows the same logic, it is called aupdate_or_create
.
Upvotes: 7