Class CPgsqlColumnSchema
CPgsqlColumnSchema class describes the column meta data of a PostgreSQL table.
- CComponent
- CDbColumnSchema
- CPgsqlColumnSchema
Package: system\db\schema\pgsql
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/pgsql/CPgsqlColumnSchema.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/pgsql/CPgsqlColumnSchema.php
protected
|
|
protected
|
#
extractLimit( string $dbType )
Extracts size, precision and scale information from column's DB type. |
protected
|
#
extractDefault( mixed $defaultValue )
Extracts the default value for the column. The value is typecasted to correct PHP type. |
init(),
typecast()
|
$allowNull,
$autoIncrement,
$comment,
$dbType,
$defaultValue,
$isForeignKey,
$isPrimaryKey,
$name,
$precision,
$rawName,
$scale,
$size,
$type
|