db\sqlite\Schema setTransactionIsolationLevel()

setTransactionIsolationLevel() public method

Sets the isolation level of the current transaction.

See also http://www.sqlite.org/pragma.html#pragma_read_uncommitted.

public void setTransactionIsolationLevel ( $level )
$level string

The transaction isolation level to use for this transaction. This can be either yii\db\Transaction::READ_UNCOMMITTED or yii\db\Transaction::SERIALIZABLE.

throws yii\base\NotSupportedException

when unsupported isolation levels are used. SQLite only supports SERIALIZABLE and READ UNCOMMITTED.

doc_Yii
2016-10-30 17:00:00
Comments
Leave a Comment

Please login to continue.