db\Schema convertException()

convertException() public method Converts a DB exception to a more concrete one if possible. public yii\db\Exception convertException ( Exception $e, $rawSql )$e Exception $rawSql string SQL that produced exception

db\Schema $transactionIsolationLevel

$transactionIsolationLevel public write-only property 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. public void setTransactionIsolationLevel ( $level )

db\Schema $tableSchemas

$tableSchemas public read-only property The metadata for all tables in the database. Each array element is an instance of yii\db\TableSchema or its child class. public yii\db\TableSchema[] getTableSchemas ( $schema = '', $refresh = false )

db\Schema $tableNames

$tableNames public read-only property All table names in the database. public string[] getTableNames ( $schema = '', $refresh = false )

db\Schema $schemaNames

$schemaNames public read-only property All schema names in the database, except system schemas. public string[] getSchemaNames ( $refresh = false )

db\Schema $queryBuilder

$queryBuilder public read-only property The query builder for this connection. public yii\db\QueryBuilder getQueryBuilder ( )

db\Schema $lastInsertID

$lastInsertID public read-only property The row ID of the last row inserted, or the last value retrieved from the sequence object public string getLastInsertID ( $sequenceName = '' )

db\Schema $exceptionMap

$exceptionMap public property Map of DB errors and corresponding exceptions If left part is found in DB error message exception class from the right part is used. public array $exceptionMap = ['SQLSTATE[23' => 'yii\db\IntegrityException']

db\Schema $defaultSchema

$defaultSchema public property The default schema name used for the current session. public string $defaultSchema = null

db\Schema $db

$db public property The database connection public yii\db\Connection $db = null