db\ColumnSchemaBuilder __construct()

__construct() public method

Create a column schema builder instance giving the type and value precision.

public void __construct ( $type, $length = null, $db = null, $config = [] )
$type string

Type of the column. See $type.

$length integer|string|array

Length or precision of the column. See $length.

$db yii\db\Connection

The current database connection. See $db.

$config array

Name-value pairs that will be used to initialize the object properties

doc_Yii
2016-10-30 16:57:16
Comments
Leave a Comment

Please login to continue.