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
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.