Search for addGroupBy

  1. Search 7.x for addGroupBy
  2. Search 9.5.x for addGroupBy
  3. Search 10.3.x for addGroupBy
  4. Search 11.x for addGroupBy
  5. Other projects
Title Object type File name Summary
QueryAggregate::addGroupBy function core/lib/Drupal/Core/Entity/Query/Sql/QueryAggregate.php Adds the groupby values to the actual query.
Sql::addGroupBy function core/modules/views/src/Plugin/views/query/Sql.php Add a simple GROUP BY clause to the query. The caller is responsible
for ensuring that the fields are fully qualified and the table is properly
added.

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