You are here

protected function QueryAggregate::compileAggregate in Zircon Profile 8

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

\Drupal\Core\Entity\Query\Sql\QueryAggregate Returns the called object.

File

core/lib/Drupal/Core/Entity/Query/Sql/QueryAggregate.php, line 96
Contains \Drupal\Core\Entity\Query\Sql\QueryAggregate.

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