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