@override Future<void> removeAllEventsByPubKey(String pubKey) async { isar_ds.isar.write((isar) { isar.dbEvents.where().pubKeyEqualTo(pubKey).deleteAll(); }); }