Property | Type | Description | |
---|---|---|---|
$exceptionMap | map of DB errors and corresponding exceptions If left part is found in DB error message exception class from the right part is used. | ||
$typeMap | mapping from physical column types (keys) to abstract column types (values) Please refer to CUBRID manual for details on data types. |
Method | Description | |
---|---|---|
createColumnSchemaBuilder ( $type, $length = null ) | ||
createQueryBuilder ( ) : yii\db\cubrid\QueryBuilder | Creates a query builder for the CUBRID database. | |
getPdoType ( mixed $data ) : integer | Determines the PDO type for the given PHP data value. | |
quoteSimpleColumnName ( string $name ) : string | Quotes a column name for use in a query. | |
quoteSimpleTableName ( string $name ) : string | Quotes a table name for use in a query. | |
releaseSavepoint ( $name ) | ||
setTransactionIsolationLevel ( $level ) |
Method | Description | |
---|---|---|
findTableNames ( string $schema = '' ) : array | Returns all table names in the database. | |
loadColumnSchema ( array $info ) : |
Loads the column information into a [[ColumnSchema]] object. | |
loadTableSchema ( string $name ) : yii\db\TableSchema | Loads the metadata for the specified table. |
public createColumnSchemaBuilder ( $type, $length = null ) |
public createQueryBuilder ( ) : yii\db\cubrid\QueryBuilder | ||
return | yii\db\cubrid\QueryBuilder | query builder instance |
protected findTableNames ( string $schema = '' ) : array | ||
$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. |
public getPdoType ( mixed $data ) : integer | ||
$data | mixed | the data whose PDO type is to be determined |
return | integer | the PDO type |
protected loadColumnSchema ( array $info ) : |
||
$info | array | column information |
return | the column schema object |
protected loadTableSchema ( string $name ) : yii\db\TableSchema | ||
$name | string | table name |
return | yii\db\TableSchema | driver dependent table metadata. Null if the table does not exist. |
public quoteSimpleColumnName ( string $name ) : string | ||
$name | string | column name |
return | string | the properly quoted column name |
public quoteSimpleTableName ( string $name ) : string | ||
$name | string | table name |
return | string | the properly quoted table name |
public $exceptionMap |
public $typeMap |