db\Command addCommentOnColumn()

addCommentOnColumn() public method (available since version 2.0.8)

Builds a SQL command for adding comment to column

public $this addCommentOnColumn ( $table, $column, $comment )
$table string

The table whose column is to be commented. The table name will be properly quoted by the method.

$column string

The name of the column to be commented. The column name will be properly quoted by the method.

$comment string

The text of the comment to be added. The comment will be properly quoted by the method.

return $this

The command object itself

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

Please login to continue.