function PgsqlQueryFactory::getAggregate

Same name and namespace in other branches
  1. 9 core/modules/workspaces/src/EntityQuery/PgsqlQueryFactory.php \Drupal\workspaces\EntityQuery\PgsqlQueryFactory::getAggregate()

File

core/modules/workspaces/src/EntityQuery/PgsqlQueryFactory.php, line 48

Class

PgsqlQueryFactory
Workspaces PostgreSQL-specific entity query implementation.

Namespace

Drupal\workspaces\EntityQuery

Code

public function getAggregate(EntityTypeInterface $entity_type, $conjunction) {
    $class = QueryBase::getClass($this->namespaces, 'QueryAggregate');
    return new $class($entity_type, $conjunction, $this->connection, $this->namespaces, $this->workspaceManager);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.