You are here

public function QueryAggregate::existsAggregate in MongoDB 8

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.

Overrides QueryAggregateInterface::existsAggregate

File

src/Entity/QueryAggregate.php, line 28
Contains \Drupal\mongodb\Entity\QueryAggregate.

Class

QueryAggregate

Namespace

Drupal\mongodb\Entity

Code

public function existsAggregate($field, $function, $langcode = NULL) {
  return $this;
}