Fix bug: increment batch counter
This commit is contained in:
parent
280043bf1b
commit
bc14eb4e78
|
@ -171,6 +171,7 @@ class CollectionsDB {
|
|||
_getRowForCollection(collection),
|
||||
conflictAlgorithm: ConflictAlgorithm.replace,
|
||||
);
|
||||
batchCounter++;
|
||||
}
|
||||
await batch.commit(noResult: true);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue