Class CMssqlColumnSchema
CMssqlColumnSchema class describes the column meta data of a MSSQL table.
- CComponent
- CDbColumnSchema
- CMssqlColumnSchema
Package: system\db\schema\mssql
Copyright: 2008-2013 Yii Software LLC
License: http://www.yiiframework.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Author: Christophe Boulain <Christophe.Boulain@gmail.com>
Located at x2engine/framework/db/schema/mssql/CMssqlColumnSchema.php
Copyright: 2008-2013 Yii Software LLC
License: http://www.yiiframework.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Author: Christophe Boulain <Christophe.Boulain@gmail.com>
Located at x2engine/framework/db/schema/mssql/CMssqlColumnSchema.php
public
|
|
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. We do nothing here, since sizes and precisions have been computed before. |
public
mixed
|
$allowNull,
$autoIncrement,
$comment,
$dbType,
$defaultValue,
$isForeignKey,
$isPrimaryKey,
$name,
$precision,
$rawName,
$scale,
$size,
$type
|