public QueryBase::conditionAggregate($field, $function = NULL, $value = NULL, $operator = '=', $langcode = NULL)
Sets a condition for an aggregated value.
string $field: The name of the field to aggregate by.
string $function: The aggregation function, for example COUNT or MIN.
mixed $value: The actual value of the field.
$operator: Possible values:
string $langcode: (optional) The language code.
\Drupal\Core\Entity\Query\QueryAggregateInterface The called object.
Overrides QueryAggregateInterface::conditionAggregate
\Drupal\Core\Entity\Query\QueryInterface::condition()
public function conditionAggregate($field, $function = NULL, $value = NULL, $operator = '=', $langcode = NULL) { $this->aggregate($field, $function, $langcode); $this->conditionAggregate->condition($field, $function, $value, $operator, $langcode); return $this; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!Query!QueryBase.php/function/QueryBase::conditionAggregate/8.1.x