protected QueryBase::getAggregationAlias($field, $function)
Generates an alias for a field and it's aggregated function.
string $field: The field name used in the alias.
string $function: The aggregation function used in the alias.
string The alias for the field.
protected function getAggregationAlias($field, $function) { return strtolower($field . '_' . $function); }
© 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::getAggregationAlias/8.1.x