src/ORM/Connect/TempDatabase.php
public function rollbackTransaction()
    {
        // Ensure a rollback can be performed
        $success = static::getConn()->supportsTransactions()
            && static::getConn()->transactionDepth();
        if (!$success) {
            return false;
        }
        try {
            // Explicit false = gnostic error from transactionRollback
            if (static::getConn()->transactionRollback() === false) {
                return false;
            }
            return true;
        } catch (DatabaseException $ex) {
            return false;
        }
    }
public function rollbackTransaction()
    {
        // Ensure a rollback can be performed
        $success = static::getConn()->supportsTransactions()
            && static::getConn()->transactionDepth();
        if (!$success) {
            return false;
        }
        try {
            // Explicit false = gnostic error from transactionRollback
            if (static::getConn()->transactionRollback() === false) {
                return false;
            }
            return true;
        } catch (DatabaseException $ex) {
            return false;
        }
    }
public function rollbackTransaction ( ) { // Ensure a rollback can be performed $ success = static :: getConn ( ) -> supportsTransactions ( ) && static :: getConn ( ) -> transactionDepth ( ) ; if ( ! $ success ) { return false ; } try { // Explicit false = gnostic error from transactionRollback if ( static :: getConn ( ) -> transactionRollback ( ) === false ) { return false ; } return true ; } catch ( DatabaseException $ ex ) { return false ; } }
Rollback a transaction (or trash all data if the DB doesn't support databases

@return bool True if successfully rolled back, false otherwise. On error the DB is
killed and must be re-created. Note that calling rollbackTransaction() when there
is no transaction is counted as a failure, user code should either kill or flush the DB
as necessary
Rollback a transaction ( or trash all data if the DB doesn t support databases