Connection::$escapedFields

Same name and namespace in other branches
  1. 10 core/lib/Drupal/Core/Database/Connection.php \Drupal\Core\Database\Connection::escapedFields
  2. 11.x core/lib/Drupal/Core/Database/Connection.php \Drupal\Core\Database\Connection::escapedFields

List of escaped field names, keyed by unescaped names.

There are cases in which escapeField() is called on an empty string. In this case it should always return an empty string.

Type: array

File

core/lib/Drupal/Core/Database/Connection.php, line 193

Class

Connection
Base Database API class.

Namespace

Drupal\Core\Database

Code

protected $escapedFields = [
    "" => "",
];

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.