public function Connection::escapeField in Drupal driver for SQL Server and SQL Azure 3.1.x
Encapsulates field names in brackets when necessary.
Overrides Connection::escapeField
File
- src/
Driver/ Database/ sqlsrv/ Connection.php, line 355
Class
- Connection
- Sqlsvr implementation of \Drupal\Core\Database\Connection.
Namespace
Drupal\sqlsrv\Driver\Database\sqlsrvCode
public function escapeField($field) {
$field = parent::escapeField($field);
return $this
->quoteIdentifier($field);
}