addCommentOnColumn() public method (available since version 2.0.8)
Builds a SQL command for adding comment to column
public string 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 | string |
The SQL statement for adding comment on column |
throws | yii\base\NotSupportedException |
Please login to continue.