List of tables whose metadata should NOT be cached. Defaults to empty array.
@see schemaCachingDuration
default
(array)
:
array()
List of SQL statements that should be executed right after the DB connection is established.
@since 1.1.1
Mapping between PDO driver and schema class name.
A schema class can be specified using path alias.
@since 1.1.6
default
(array)
:
array
(
'pgsql' => 'CPgsqlSchema',
'mysqli' => 'CMysqlSchema',
'mysql' => 'CMysqlSchema',
'sqlite' => 'CSqliteSchema',
'sqlite2' => 'CSqliteSchema',
'mssql' => 'CMssqlSchema',
'dblib' => 'CMssqlSchema',
'sqlsrv' => 'CMssqlSchema',
'oci' => 'COciSchema',
)
The behaviors that should be attached to this component.
The behaviors will be attached to the component when {@link init} is called.
Please refer to {@link CModel::behaviors} on how to specify the value of this property.
default
(array)
:
array()
Sets a set of attributes on the database connection.
attributes (name=>value) to be set.
@see setAttribute
@since 1.1.7