db\Connection quoteColumnName()

quoteColumnName() public method

Quotes a column name for use in a query.

If the column name contains prefix, the prefix will also be properly quoted. If the column name is already quoted or contains special characters including '(', '[[' and '{{', then this method will do nothing.

public string quoteColumnName ( $name )
$name string

Column name

return string

The properly quoted column name

doc_Yii
2016-10-30 16:57:50
Comments
Leave a Comment

Please login to continue.