mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 01:29:26 +08:00
Update db.py
This commit is contained in:
+5
-1
@@ -335,9 +335,13 @@ class Sql():
|
||||
except Exception as ex:
|
||||
return "error: " + str(ex)
|
||||
|
||||
def commit(self):
|
||||
def executemany(self, sql, args):
|
||||
self.__DB_CONN.executemany(sql, args)
|
||||
self.__close()
|
||||
|
||||
def commit(self):
|
||||
self.__DB_CONN.commit()
|
||||
self.__close()
|
||||
|
||||
def save(self, keys, param):
|
||||
# 更新数据
|
||||
|
||||
Reference in New Issue
Block a user