db\ColumnSchemaBuilder first()

first() public method (available since version 2.0.8) Adds an FIRST constraint to the column. Note: MySQL, Oracle and Cubrid support only. public $this first ( )

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 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 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 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 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 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 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