Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
yii
db
mssql
PDO
commit
yii\db\mssql\PDO::commit PHP Method
PDO Class Documentation
Datei anzeigen
Open project: yiisoft/yii2
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; }
PDO
beginTransaction
commit
getAttribute
lastInsertId
rollBack