db\Schema setTransactionIsolationLevel()

setTransactionIsolationLevel() public method

Sets the isolation level of the current transaction.

See also http://en.wikipedia.org/wiki/Isolation_(database_systems)#Isolation_levels.

public void setTransactionIsolationLevel ( $level )
$level string

The transaction isolation level to use for this transaction. This can be one of yii\db\Transaction::READ_UNCOMMITTED, yii\db\Transaction::READ_COMMITTED, yii\db\Transaction::REPEATABLE_READ and yii\db\Transaction::SERIALIZABLE but also a string containing DBMS specific syntax to be used after SET TRANSACTION ISOLATION LEVEL.

doc_Yii
2016-10-30 16:59:44
Comments
Leave a Comment

Please login to continue.