db\ColumnSchemaBuilder buildCommentString()

buildCommentString() protected method (available since version 2.0.8) Builds the comment specification for the column. protected string buildCommentString ( )return string A string containing the COMMENT keyword and the comment itself

db\ColumnSchemaBuilder buildCheckString()

buildCheckString() protected method Builds the check constraint for the column. protected string buildCheckString ( )return string A string containing the CHECK constraint.

db\ColumnSchemaBuilder buildAppendString()

buildAppendString() protected method (available since version 2.0.9) Builds the custom string that's appended to column definition. protected string buildAppendString ( )return string Custom string to append.

db\ColumnSchemaBuilder buildAfterString()

buildAfterString() protected method (available since version 2.0.8) Builds the after constraint for the column. Defaults to unsupported. protected string buildAfterString ( )return string A string containing the AFTER constraint.

db\ColumnSchemaBuilder append()

append() public method (available since version 2.0.9) Specify additional SQL to be appended to schema string. public $this append ( $sql )$sql string The SQL string to be appended.

db\ColumnSchemaBuilder after()

after() public method (available since version 2.0.8) Adds an AFTER constraint to the column. Note: MySQL, Oracle and Cubrid support only. public $this after ( $after )$after string The column after which $this column will be added.

db\ColumnSchemaBuilder $type

$type protected property The column type definition such as INTEGER, VARCHAR, DATETIME, etc. protected string $type = null

db\ColumnSchemaBuilder $length

$length protected property Column size or precision definition. This is what goes into the parenthesis after the column type. This can be either a string, an integer or an array. If it is an array, the array values will be joined into a string separated by comma. protected integer|string|array $length = null

db\ColumnSchemaBuilder $isUnsigned

$isUnsigned protected property (available since version 2.0.7) Whether the column values should be unsigned. If this is true, an UNSIGNED keyword will be added. protected boolean $isUnsigned = false

db\ColumnSchemaBuilder $isUnique

$isUnique protected property Whether the column values should be unique. If this is true, a UNIQUE constraint will be added. protected boolean $isUnique = false