Fix bug: increment batch counter

This commit is contained in:
Neeraj Gupta 2023-01-02 14:27:55 +05:30
parent 280043bf1b
commit bc14eb4e78
No known key found for this signature in database
GPG key ID: 3C5A1684DC1729E1

View file

@ -171,6 +171,7 @@ class CollectionsDB {
_getRowForCollection(collection),
conflictAlgorithm: ConflictAlgorithm.replace,
);
batchCounter++;
}
await batch.commit(noResult: true);
}