onHandle<T> method
Future<T?>
onHandle<T>(
- DbOperationType operationType,
- String schema,
- String fields, {
- required SqlWhereBuilder builder,
override
Implementation
@override
Future<T?> onHandle<T>(DbOperationType operationType, String schema, String fields,
{required SqlWhereBuilder builder}) {
switch (operationType) {
case DbOperationType.query:
case DbOperationType.queryList:
case DbOperationType.count:
case DbOperationType.exists:
case DbOperationType.deleteInTx:
case DbOperationType.deleteInTxAll:
return _handler<T, IDataEntry>(operationType, schema, fields, builder);
default:
return Future.value();
}
}