Connection::$escapedFields

Same name in other branches
  1. 9 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 200

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.