yii\db\QueryBuilder::dropCommentFromColumn PHP Метод

dropCommentFromColumn() публичный Метод

Builds a SQL command for adding comment to column
С версии: 2.0.8
public dropCommentFromColumn ( string $table, string $column ) : string
$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.
Результат string the SQL statement for adding comment on column
    public function dropCommentFromColumn($table, $column)
    {
        return 'COMMENT ON COLUMN ' . $this->db->quoteTableName($table) . '.' . $this->db->quoteColumnName($column) . ' IS NULL';
    }