How to share one aiosqlite.connection object between coroutines?

前端 未结 0 360
日久生厌
日久生厌 2021-01-15 03:15

I have this code example:

import asyncio
import aiosqlite

async def write_row(db):
    index = 0
    while True:
        index += 1
        await db.execute(         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题