Query::$sqlFields

Same name in other branches
  1. 9 core/lib/Drupal/Core/Entity/Query/Sql/Query.php \Drupal\Core\Entity\Query\Sql\Query::sqlFields
  2. 8.9.x core/lib/Drupal/Core/Entity/Query/Sql/Query.php \Drupal\Core\Entity\Query\Sql\Query::sqlFields
  3. 10 core/lib/Drupal/Core/Entity/Query/Sql/Query.php \Drupal\Core\Entity\Query\Sql\Query::sqlFields

An array of fields keyed by the field alias.

Each entry correlates to the arguments of \Drupal\Core\Database\Query\SelectInterface::addField(), so the first one is the table alias, the second one the field and the last one optional the field alias.

Type: array

File

core/lib/Drupal/Core/Entity/Query/Sql/Query.php, line 41

Class

Query
The SQL storage entity query class.

Namespace

Drupal\Core\Entity\Query\Sql

Code

protected $sqlFields = [];

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