yii\db\mssql\PDO::commit PHP Method

commit() public method

Commits a transaction. It is necessary to override PDO's method as MSSQL PDO driver does not natively support transactions.
public commit ( ) : boolean
return boolean the result of a transaction commit.
    public function commit()
    {
        $this->exec('COMMIT TRANSACTION');
        return true;
    }