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. |
Please login to continue.