yii\db\Command::addCommentOnTable PHP 메소드

addCommentOnTable() 공개 메소드

Builds a SQL command for adding comment to table
부터: 2.0.8
public addCommentOnTable ( string $table, string $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.
    public function addCommentOnTable($table, $comment)
    {
        $sql = $this->db->getQueryBuilder()->addCommentOnTable($table, $comment);
        return $this->setSql($sql);
    }