db\cubrid\Schema loadTableSchema()

loadTableSchema() protected method Loads the metadata for the specified table. protected yii\db\TableSchema loadTableSchema ( $name )$name string Table name return yii\db\TableSchema Driver dependent table metadata. Null if the table does not exist.

db\cubrid\Schema loadColumnSchema()

loadColumnSchema() protected method Loads the column information into a yii\db\ColumnSchema object. protected yii\db\ColumnSchema loadColumnSchema ( $info )$info array Column information return yii\db\ColumnSchema The column schema object

db\cubrid\Schema getPdoType()

getPdoType() public method Determines the PDO type for the given PHP data value. See also http://www.php.net/manual/en/pdo.constants.php. public integer getPdoType ( $data )$data mixed The data whose PDO type is to be determined return integer The PDO type

db\cubrid\Schema findTableNames()

findTableNames() protected method Returns all table names in the database. protected array findTableNames ( $schema = '' )$schema string The schema of the tables. Defaults to empty string, meaning the current or default schema. return array All table names in the database. The names have NO schema name prefix.

db\cubrid\Schema createQueryBuilder()

createQueryBuilder() public method Creates a query builder for the CUBRID database. public yii\db\cubrid\QueryBuilder createQueryBuilder ( )return yii\db\cubrid\QueryBuilder Query builder instance

db\cubrid\Schema createColumnSchemaBuilder()

createColumnSchemaBuilder() public method Create a column schema builder instance giving the type and value precision. This method may be overridden by child classes to create a DBMS-specific column schema builder. public yii\db\ColumnSchemaBuilder createColumnSchemaBuilder ( $type, $length = null )$type string Type of the column. See yii\db\cubrid\ColumnSchemaBuilder::$type. $length integer|string|array Length or precision of the column. See yii\db\cubrid\ColumnSchemaBuilder::$lengt

db\cubrid\Schema $typeMap

$typeMap public property Mapping from physical column types (keys) to abstract column types (values) Please refer to CUBRID manual for details on data types. public array $typeMap = ['short' => self::TYPE_SMALLINT, 'smallint' => self::TYPE_SMALLINT, 'int' => self::TYPE_INTEGER, 'integer' => self::TYPE_INTEGER, 'bigint' => self::TYPE_BIGINT, 'numeric' => self::TYPE_DECIMAL, 'decimal' => self::TYPE_DECIMAL, 'float' => self::TYPE_FLOAT, 'real' => self::TYPE_FLOAT, '

db\cubrid\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\cubrid\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 = ['Operation would have caused one or more unique constraint violations' => 'yii\db\IntegrityException']

db\cubrid\QueryBuilder selectExists()

selectExists() public method (available since version 2.0.8) Creates a SELECT EXISTS() SQL statement. public string selectExists ( $rawSql )$rawSql string The subquery in a raw form to select from. return string The SELECT EXISTS() SQL statement.