public function commitTransaction()
    {
        if (!self::$transaction) {
            throw new TransactionException("There is no Active Transaction");
        }

        self::$transaction = false;
        foreach (self::$connectionList as $dbDriver) {
            $dbDriver->commitTransaction();
        }
    }
public function commitTransaction()
    {
        if (!self::$transaction) {
            throw new TransactionException("There is no Active Transaction");
        }

        self::$transaction = false;
        foreach (self::$connectionList as $dbDriver) {
            $dbDriver->commitTransaction();
        }
    }
public function commitTransaction ( ) { if ( ! self :: $ transaction ) { throw new TransactionException ( "There is no Active Transaction" ) ; } self :: $ transaction = false ; foreach ( self :: $ connectionList as $ dbDriver ) { $ dbDriver -> commitTransaction ( ) ; } }
Commit all open transactions

@throws \ByJG\MicroOrm\Exception\TransactionException
Commit all open transactions