Replies: 1 comment
-
Maybe try transaction and create task? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
because of
self.acquire(reuse=True)
, I have toI cann't use
asyncio.gather(Model.delete.where(id==1).gino.status(), Model.delete.where(id==2).gino.status())
, it will raise exceptionasyncpg.exceptions._base.InterfaceError: cannot perform operation: another operation is in progress
.Here is the issuse #313
So how can I delete models concurrently
Beta Was this translation helpful? Give feedback.
All reactions