any method
Implementation
FutureOr<DbResult> any(AccessEvent event) {
switch (event.access.type) {
case AccessType.read:
return read(event.access);
case AccessType.readMultiple:
return readList(event.access);
case AccessType.create:
return create(event.access);
case AccessType.update:
return update(event.access);
case AccessType.exists:
return exists(event.access);
case AccessType.listen:
throw UnimplementedError();
case AccessType.aggregation:
return aggregation(event.access);
case AccessType.delete:
return delete(event.access);
case AccessType.count:
return count(event.access);
}
}