public function QueryAggregate::prepare in Drupal 10
Same name in this branch
- 10 core/modules/workspaces/src/EntityQuery/QueryAggregate.php \Drupal\workspaces\EntityQuery\QueryAggregate::prepare()
- 10 core/lib/Drupal/Core/Entity/Query/Sql/QueryAggregate.php \Drupal\Core\Entity\Query\Sql\QueryAggregate::prepare()
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Entity/Query/Sql/QueryAggregate.php \Drupal\Core\Entity\Query\Sql\QueryAggregate::prepare()
- 9 core/lib/Drupal/Core/Entity/Query/Sql/QueryAggregate.php \Drupal\Core\Entity\Query\Sql\QueryAggregate::prepare()
File
- core/
lib/ Drupal/ Core/ Entity/ Query/ Sql/ QueryAggregate.php, line 39
Class
- QueryAggregate
- The SQL storage entity query aggregate class.
Namespace
Drupal\Core\Entity\Query\SqlCode
public function prepare() {
parent::prepare();
// Throw away the id fields.
$this->sqlFields = [];
return $this;
}