public function EntityStorageInterface::getAggregateQuery
public EntityStorageInterface::getAggregateQuery($conjunction = 'AND')
Gets an aggregated query instance.
Parameters
string $conjunction: (optional) The logical operator for the query, either:
- AND: all of the conditions on the query need to match.
- OR: at least one of the conditions on the query need to match.
Return value
\Drupal\Core\Entity\Query\QueryAggregateInterface The aggregated query object that can query the given entity type.
See also
\Drupal\Core\Entity\EntityStorageBase::getQueryServiceName()
File
- core/lib/Drupal/Core/Entity/EntityStorageInterface.php, line 173
Class
- EntityStorageInterface
- Defines the interface for entity storage classes.
Namespace
Drupal\Core\EntityCode
public function getAggregateQuery($conjunction = 'AND');
© 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!EntityStorageInterface.php/function/EntityStorageInterface::getAggregateQuery/8.1.x