public function QueryAggregateInterface::existsAggregate

Queries for the existence of a field.

Parameters

string $field: The name of the field.

string $function: The aggregate function.

$langcode: (optional) The language code.

Return value

\Drupal\Core\Entity\Query\QueryAggregateInterface The called object.

1 method overrides QueryAggregateInterface::existsAggregate()
QueryAggregate::existsAggregate in drupal/core/modules/field_sql_storage/lib/Drupal/field_sql_storage/Entity/QueryAggregate.php
Overrides \Drupal\Core\Entity\QueryBase::exists().

File

drupal/core/lib/Drupal/Core/Entity/Query/QueryAggregateInterface.php, line 90
Contains \Drupal\Core\Entity\Query\QueryAggregateInterface.

Class

QueryAggregateInterface
Defines a interface for aggregated entity queries.

Namespace

Drupal\Core\Entity\Query

Code

public function existsAggregate($field, $function, $langcode = NULL);