Class CMysqlColumnSchema
CMysqlColumnSchema class describes the column meta data of a MySQL table.
- CComponent
- CDbColumnSchema
- CMysqlColumnSchema
Package: system\db\schema\mysql
Copyright: 2008-2013 Yii Software LLC
License: http://www.yiiframework.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 1.0
Located at x2engine/framework/db/schema/mysql/CMysqlColumnSchema.php
Copyright: 2008-2013 Yii Software LLC
License: http://www.yiiframework.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 1.0
Located at x2engine/framework/db/schema/mysql/CMysqlColumnSchema.php
protected
|
|
protected
|
#
extractDefault( mixed $defaultValue )
Extracts the default value for the column. The value is typecasted to correct PHP type. |
protected
|
#
extractLimit( string $dbType )
Extracts size, precision and scale information from column's DB type. |
init(),
typecast()
|
$allowNull,
$autoIncrement,
$comment,
$dbType,
$defaultValue,
$isForeignKey,
$isPrimaryKey,
$name,
$precision,
$rawName,
$scale,
$size,
$type
|