public function commit() : bool
    {
        if ($this->isConnected() === false) {
            $this->connect();
        }
        if ($this->transactionLevel > 0) {
            --$this->transactionLevel;
            if ($this->transactionLevel == 0) {
                return $this->providerDatabase->commit($this->GetMasterLink());
            }

            return $this->providerDatabase->releaseSavePoint($this->GetMasterLink(), 'LEVEL' . $this->transactionLevel);
        }

        return false;
    }
public function commit() : bool
    {
        if ($this->isConnected() === false) {
            $this->connect();
        }
        if ($this->transactionLevel > 0) {
            --$this->transactionLevel;
            if ($this->transactionLevel == 0) {
                return $this->providerDatabase->commit($this->GetMasterLink());
            }

            return $this->providerDatabase->releaseSavePoint($this->GetMasterLink(), 'LEVEL' . $this->transactionLevel);
        }

        return false;
    }
public function commit ( ) : bool { if ( $ this -> isConnected ( ) === false ) { $ this -> connect ( ) ; } if ( $ this -> transactionLevel > 0 ) { -- $ this -> transactionLevel ; if ( $ this -> transactionLevel == 0 ) { return $ this -> providerDatabase -> commit ( $ this -> GetMasterLink ( ) ) ; } return $ this -> providerDatabase -> releaseSavePoint ( $ this -> GetMasterLink ( ) , 'LEVEL' . $ this -> transactionLevel ) ; } return false ; }
Commit transaction modifications.

@return bool true if successful
Commit transaction modifications .