Db\Adapter\Pdo\Mysql::escapeIdentifier

public escapeIdentifier (mixed $identifier)

Escapes a column/table/schema name

echo $connection->escapeIdentifier('my_table'); // `my_table`
 echo $connection->escapeIdentifier(['companies', 'name']); // `companies`.`name`
@param string|array identifier
doc_Phalcon
2016-10-16 09:49:10
Comments
Leave a Comment

Please login to continue.