Doctrine\DBAL\Platforms\PostgreSqlPlatform::getCommentOnColumnSQL PHP Method

getCommentOnColumnSQL() public method

public getCommentOnColumnSQL ( $tableName, $columnName, $comment )
    public function getCommentOnColumnSQL($tableName, $columnName, $comment)
    {
        $tableName = new Identifier($tableName);
        $columnName = new Identifier($columnName);
        $comment = $comment === null ? 'NULL' : $this->quoteStringLiteral($comment);
        return "COMMENT ON COLUMN " . $tableName->getQuotedName($this) . "." . $columnName->getQuotedName($this) . " IS {$comment}";
    }
PostgreSqlPlatform