This commit is contained in:
2025-12-04 09:58:32 +08:00
parent ecd17c7721
commit 587182c3b1
+1
View File
@@ -35,6 +35,7 @@ class AsyncMySQL:
await cursor.execute(sql, params or ())
return await cursor.fetchall()
async def execute(self, sql: str, params=None):
"""执行 SQLinsert/update/delete"""
await self.init_pool()