Update::$fields

Same name in other branches
  1. 9 core/lib/Drupal/Core/Database/Query/Update.php \Drupal\Core\Database\Query\Update::fields
  2. 8.9.x core/lib/Drupal/Core/Database/Query/Update.php \Drupal\Core\Database\Query\Update::fields
  3. 10 core/lib/Drupal/Core/Database/Query/Update.php \Drupal\Core\Database\Query\Update::fields

An array of fields that will be updated.

Type: array

File

core/lib/Drupal/Core/Database/Query/Update.php, line 28

Class

Update
General class for an abstracted UPDATE operation.

Namespace

Drupal\Core\Database\Query

Code

protected $fields = [];

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