db\ColumnSchemaBuilder defaultExpression()

defaultExpression() public method (available since version 2.0.7) Specify the default SQL expression for the column. public $this defaultExpression ( $default )$default string The default value expression.

db\ColumnSchemaBuilder comment()

comment() public method (available since version 2.0.8) Specifies the comment for column. public $this comment ( $comment )$comment string The comment

db\ColumnSchemaBuilder check()

check() public method Sets a CHECK constraint for the column. public $this check ( $check )$check string The SQL of the CHECK constraint to be added.

db\ColumnSchemaBuilder buildUnsignedString()

buildUnsignedString() protected method (available since version 2.0.7) Builds the unsigned string for column. Defaults to unsupported. protected string buildUnsignedString ( )return string A string containing UNSIGNED keyword.

db\ColumnSchemaBuilder buildUniqueString()

buildUniqueString() protected method Builds the unique constraint for the column. protected string buildUniqueString ( )return string Returns string 'UNIQUE' if $isUnique is true, otherwise it returns an empty string.

db\ColumnSchemaBuilder buildNotNullString()

buildNotNullString() protected method Builds the not null constraint for the column. protected string buildNotNullString ( )return string Returns 'NOT NULL' if $isNotNull is true, 'NULL' if $isNotNull is false or an empty string otherwise.

db\ColumnSchemaBuilder buildLengthString()

buildLengthString() protected method Builds the length/precision part of the column. protected string buildLengthString ( )

db\ColumnSchemaBuilder buildFirstString()

buildFirstString() protected method (available since version 2.0.8) Builds the first constraint for the column. Defaults to unsupported. protected string buildFirstString ( )return string A string containing the FIRST constraint.

db\ColumnSchemaBuilder buildDefaultString()

buildDefaultString() protected method Builds the default value specification for the column. protected string buildDefaultString ( )return string String with default value of column.

db\ColumnSchemaBuilder buildCompleteString()

buildCompleteString() protected method (available since version 2.0.8) Returns the complete column definition from input format protected string buildCompleteString ( $format )$format string The format of the definition. return string A string containing the complete column definition.