extractColumnSize() protected method
Extracts size, precision and scale information from column's DB type.
protected void extractColumnSize ( $column, $dbType, $precision, $scale, $length ) | ||
---|---|---|
$column | yii\db\ColumnSchema | |
$dbType | string |
The column's DB type |
$precision | string |
Total number of digits. This parameter is available since version 2.0.4. |
$scale | string |
Number of digits on the right of the decimal separator. This parameter is available since version 2.0.4. |
$length | string |
Length for character types. This parameter is available since version 2.0.4. |
Please login to continue.