request method
Future<void>
request(
- void empty
)
override
Implementation
@override
Future<void> request(void empty) async {
final dbStore = DbStoresWeebi().articles;
await dbStore.delete(_database.dbA);
// ! DO NOT delete the counter because past tickets may still hold these ids
// * better have users complain about ids not starting at 1 than corrupting their data
// final counterStore = StoreRef<String, int>.main();
// await counterStore.record('articlesCounter').delete(_database.db);
await _database.dbA.compact();
return;
}