You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -97,7 +96,7 @@ export class SQLiteStorageDatabase implements IStorageDatabase {
97
96
});
98
97
99
98
keysValuesChunks.forEach(keysValuesChunk=>{
100
-
this.prepare(connection,`INSERT INTO ItemTable VALUES ${fill(keysValuesChunk.length/2,'(?,?)').join(',')}`,stmt=>stmt.run(keysValuesChunk),()=>{
99
+
this.prepare(connection,`INSERT INTO ItemTable VALUES ${newArray(keysValuesChunk.length/2).fill('(?,?)').join(',')}`,stmt=>stmt.run(keysValuesChunk),()=>{
101
100
constkeys: string[]=[];
102
101
letlength=0;
103
102
toInsert.forEach((value,key)=>{
@@ -132,7 +131,7 @@ export class SQLiteStorageDatabase implements IStorageDatabase {
132
131
});
133
132
134
133
keysChunks.forEach(keysChunk=>{
135
-
this.prepare(connection,`DELETE FROM ItemTable WHERE key IN (${fill(keysChunk.length,'?').join(',')})`,stmt=>stmt.run(keysChunk),()=>{
134
+
this.prepare(connection,`DELETE FROM ItemTable WHERE key IN (${newArray(keysChunk.length).fill('?').join(',')})`,stmt=>stmt.run(keysChunk),()=>{
0 commit comments