beginTransactionInContext method
Implementation
@override
// ignore: library_private_types_in_public_api
TransactionExecutor beginTransactionInContext(_BaseExecutor context) {
switch (delegate.transactionDelegate) {
case NoTransactionDelegate noTransactionDelegate:
return _StatementBasedTransactionExecutor(
this,
context,
noTransactionDelegate,
);
case SupportedTransactionDelegate supported:
return _WrappingTransactionExecutor(this, supported);
}
}