executeCommit method

  1. @override
void executeCommit([
  1. bool commitRetaining = true
])
override

Implementation

@override
void executeCommit([bool commitRetaining = true]) {
  final t = _transaction;
  if (t is TSQLTransaction) {
    if (commitRetaining) {
      t.commitRetaining();
    } else {
      t.commit();
      t.startTransaction();
    }
  } else {
    _transaction!.active = false;
    _transaction!.active = true;
  }
}