Search for groupBy
- Search 7.x for groupBy
 - Search 9.5.x for groupBy
 - Search 8.9.x for groupBy
 - Search 10.3.x for groupBy
 - Other projects
 
| Title | Object type | File name | Summary | 
|---|---|---|---|
| QueryAggregateInterface::groupBy | function | core/ | 
                                                                                        Specifies the field to group on. | 
| QueryBase::$groupBy | property | core/ | 
                                                                                        The list of columns to group on. | 
| QueryBase::groupBy | function | core/ | 
                                                                                        |
| QueryGroupByTest | class | core/ | 
                                                                                        Tests aggregate functionality of views, for example count. | 
| QueryGroupByTest.php | file | core/ | 
                                                                                        |
| QueryGroupByTest::$modules | property | core/ | 
                                                                                        Modules to install. | 
| QueryGroupByTest::$storage | property | core/ | 
                                                                                        The storage for the test entity type. | 
| QueryGroupByTest::$testViews | property | core/ | 
                                                                                        Views used by this test. | 
| QueryGroupByTest::groupByTestHelper | function | core/ | 
                                                                                        Provides a test helper which runs a view with some aggregation function. | 
| QueryGroupByTest::setUp | function | core/ | 
                                                                                        |
| QueryGroupByTest::setupTestEntities | function | core/ | 
                                                                                        Helper method that creates some test entities. | 
| QueryGroupByTest::testAggregateCount | function | core/ | 
                                                                                        Tests aggregate count feature. | 
| QueryGroupByTest::testAggregateCountFunction | function | core/ | 
                                                                                        Tests aggregate count feature with no group by. | 
| QueryGroupByTest::testGroupByAverage | function | core/ | 
                                                                                        Tests the average aggregation function. | 
| QueryGroupByTest::testGroupByBaseField | function | core/ | 
                                                                                        Tests grouping on base field. | 
| QueryGroupByTest::testGroupByCount | function | core/ | 
                                                                                        Tests the count aggregation function. | 
| QueryGroupByTest::testGroupByCountOnlyFilters | function | core/ | 
                                                                                        Tests group by with filters. | 
| QueryGroupByTest::testGroupByFieldWithCardinality | function | core/ | 
                                                                                        Tests grouping a field with cardinality > 1. | 
| QueryGroupByTest::testGroupByMax | function | core/ | 
                                                                                        Tests the max aggregation function. | 
| QueryGroupByTest::testGroupByMin | function | core/ | 
                                                                                        Tests the min aggregation function. | 
| QueryGroupByTest::testGroupByNone | function | core/ | 
                                                                                        Tests aggregation with no specific function. | 
| QueryGroupByTest::testGroupBySum | function | core/ | 
                                                                                        Tests the sum aggregation function. | 
| QueryGroupByTest::testGroupByWithFieldsNotExistingOnBundle | function | core/ | 
                                                                                        Tests group by with a non-existent field on some bundle. | 
| Random::usesGroupBy | function | core/ | 
                                                                                        Provides the handler some group by. | 
| RelationshipPluginBase::usesGroupBy | function | core/ | 
                                                                                        Provides the handler some group by. | 
| RenderedEntity::usesGroupBy | function | core/ | 
                                                                                        Provides the handler some group by. | 
| ReservedWordTest::testGroupBy | function | core/ | 
                                                                                        Tests SELECT query with GROUP BY clauses on fields with reserved names. | 
| Select::getGroupBy | function | core/ | 
                                                                                        Returns a reference to the group-by array for this query. | 
| Select::groupBy | function | core/ | 
                                                                                        Groups the result set by the specified field. | 
| SelectComplexTest::testCountQueryGroupBy | function | core/ | 
                                                                                        Tests that we can generate a count query from a query with GROUP BY. | 
| SelectComplexTest::testGroupBy | function | core/ | 
                                                                                        Tests GROUP BY clauses. | 
| SelectComplexTest::testGroupByAndHaving | function | core/ | 
                                                                                        Tests GROUP BY and HAVING clauses together. | 
| SelectExtender::getGroupBy | function | core/ | 
                                                                                        Returns a reference to the group-by array for this query. | 
| SelectExtender::groupBy | function | core/ | 
                                                                                        Groups the result set by the specified field. | 
| SelectInterface::getGroupBy | function | core/ | 
                                                                                        Returns a reference to the group-by array for this query. | 
| SelectInterface::groupBy | function | core/ | 
                                                                                        Groups the result set by the specified field. | 
| Sql::$groupby | property | core/ | 
                                                                                        A simple array of group by clauses. | 
| Sql::addGroupBy | function | core/ | 
                                                                                        Add a simple GROUP BY clause to the query. | 
Pagination
- Previous page
 - Page 2
 
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.