You are here

protected function QueryAggregate::compileAggregate in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Entity/Query/Sql/QueryAggregate.php \Drupal\Core\Entity\Query\Sql\QueryAggregate::compileAggregate()
  2. 9 core/lib/Drupal/Core/Entity/Query/Sql/QueryAggregate.php \Drupal\Core\Entity\Query\Sql\QueryAggregate::compileAggregate()

Builds the aggregation conditions part of the query.

Return value

$this Returns the called object.

File

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

Class

QueryAggregate
The SQL storage entity query aggregate class.

Namespace

Drupal\Core\Entity\Query\Sql

Code

protected function compileAggregate() {
  $this->conditionAggregate
    ->compile($this->sqlQuery);
  return $this;
}