mirror of
https://github.com/ankitects/anki.git
synced 2026-01-13 22:13:58 -05:00
add a temporary executemany()
This commit is contained in:
parent
bd7ded18c3
commit
d42df6e0f1
1 changed files with 3 additions and 1 deletions
|
|
@ -94,7 +94,9 @@ class DBProxy:
|
|||
|
||||
def executemany(self, sql: str, args: Iterable[Iterable[ValueForDB]]) -> None:
|
||||
self.mod = True
|
||||
raise Exception("fixme")
|
||||
# fixme
|
||||
for row in args:
|
||||
self.execute(sql, *row)
|
||||
|
||||
def executescript(self, sql: str) -> None:
|
||||
self.mod = True
|
||||
|
|
|
|||
Loading…
Reference in a new issue