db\Transaction rollBack()

rollBack() public method Rolls back a transaction. public void rollBack ( )throws yii\db\Exception if the transaction is not active

db\Transaction getLevel()

getLevel() public method (available since version 2.0.8) public integer getLevel ( )return integer The current nesting level of the transaction.

db\Transaction getIsActive()

getIsActive() public method Returns a value indicating whether this transaction is active. public boolean getIsActive ( )return boolean Whether this transaction is active. Only an active transaction can commit() or rollBack().

db\Transaction commit()

commit() public method Commits a transaction. public void commit ( )throws yii\db\Exception if the transaction is not active

db\Transaction begin()

begin() public method Begins a transaction. public void begin ( $isolationLevel = null )$isolationLevel string|null The isolation level to use for this transaction. This can be one of READ_UNCOMMITTED, READ_COMMITTED, REPEATABLE_READ and SERIALIZABLE but also a string containing DBMS specific syntax to be used after SET TRANSACTION ISOLATION LEVEL. If not specified (null) the isolation level will not be set explicitly and the DBMS default will be used. Note: This setting does not work

db\Transaction $level

$level public read-only property The current nesting level of the transaction. public integer getLevel ( )

db\Transaction $isolationLevel

$isolationLevel public write-only property The transaction isolation level to use for this transaction. This can be one of READ_UNCOMMITTED, READ_COMMITTED, REPEATABLE_READ and SERIALIZABLE but also a string containing DBMS specific syntax to be used after SET TRANSACTION ISOLATION LEVEL. public void setIsolationLevel ( $level )

db\Transaction $isActive

$isActive public read-only property Whether this transaction is active. Only an active transaction can commit() or rollBack(). public boolean getIsActive ( )

db\Transaction $db

$db public property The database connection that this transaction is associated with. public yii\db\Connection $db = null

db\TableSchema getColumnNames()

getColumnNames() public method Returns the names of all columns in this table. public array getColumnNames ( )return array List of column names