add a temporary executemany()
This commit is contained in:
parent
b51e575a9d
commit
874ee80a68
@ -94,7 +94,9 @@ class DBProxy:
|
|||||||
|
|
||||||
def executemany(self, sql: str, args: Iterable[Iterable[ValueForDB]]) -> None:
|
def executemany(self, sql: str, args: Iterable[Iterable[ValueForDB]]) -> None:
|
||||||
self.mod = True
|
self.mod = True
|
||||||
raise Exception("fixme")
|
# fixme
|
||||||
|
for row in args:
|
||||||
|
self.execute(sql, *row)
|
||||||
|
|
||||||
def executescript(self, sql: str) -> None:
|
def executescript(self, sql: str) -> None:
|
||||||
self.mod = True
|
self.mod = True
|
||||||
|
Loading…
Reference in New Issue
Block a user