You are here

protected function QueryAggregate::compileAggregate in Drupal 8

Same name and namespace in other branches
  1. 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 90

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;
}