db\ColumnSchema phpTypecast()

phpTypecast() public method Converts the input value according to $phpType after retrieval from the database. If the value is null or an yii\db\Expression, it will not be converted. public mixed phpTypecast ( $value )$value mixed Input value return mixed Converted value

db\ColumnSchema dbTypecast()

dbTypecast() public method Converts the input value according to $type and $dbType for use in a db query. If the value is null or an yii\db\Expression, it will not be converted. public mixed dbTypecast ( $value )$value mixed Input value return mixed Converted value. This may also be an array containing the value as the first element and the PDO type as the second element.

db\ColumnSchema $unsigned

$unsigned public property Whether this column is unsigned. This is only meaningful when $type is smallint, integer or bigint. public boolean $unsigned = null

db\ColumnSchema $type

$type public property Abstract type of this column. Possible abstract types include: char, string, text, boolean, smallint, integer, bigint, float, decimal, datetime, timestamp, time, date, binary, and money. public string $type = null

db\ColumnSchema $size

$size public property Display size of the column. public integer $size = null

db\ColumnSchema $scale

$scale public property Scale of the column data, if it is numeric. public integer $scale = null

db\ColumnSchema $precision

$precision public property Precision of the column data, if it is numeric. public integer $precision = null

db\ColumnSchema $phpType

$phpType public property The PHP type of this column. Possible PHP types include: string, boolean, integer, double. public string $phpType = null

db\ColumnSchema $name

$name public property Name of this column (without quotes). public string $name = null

db\ColumnSchema $isPrimaryKey

$isPrimaryKey public property Whether this column is a primary key public boolean $isPrimaryKey = null