db\Command addCommentOnTable()

addCommentOnTable() public method (available since version 2.0.8)

Builds a SQL command for adding comment to table

public $this addCommentOnTable ( $table, $comment )
$table string

The table whose column is to be commented. The table 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.