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.
comment() public method (available since version 2.0.8) Specifies the comment for column. public $this comment ( $comment )$comment string The comment
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.
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.
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.
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.
buildLengthString() protected method Builds the length/precision part of the column. protected string buildLengthString ( )
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.
buildDefaultString() protected method Builds the default value specification for the column. protected string buildDefaultString ( )return string String with default value of column.
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.
Page 455 of 633