db\Connection quoteTableName()

quoteTableName() public method

Quotes a table name for use in a query.

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

public string quoteTableName ( $name )
$name string

Table name

return string

The properly quoted table name

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

Please login to continue.