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.
CodePudding user response:
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
.