Skip to main content
Backdrop CMS API
Documentation for Backdrop CMS developers.
  • Welcome!
    • Login

You are here

  1. Home »
  2. API reference »
  3. 1.x

Search for groupBy

Name Type Location Description
views_groupby.test file core/modules/views/tests/views_groupby.test Tests aggregate functionality of Views.
SelectQuery::groupBy function core/includes/database/select.inc Implements SelectQueryInterface::groupBy().
ViewsQueryGroupByTest class core/modules/views/tests/views_groupby.test Tests aggregate functionality of views, for example count.
viewsUiGroupbyTestCase class core/modules/views/tests/views_groupby.test Tests UI of aggregate functionality..
SelectQuery::getGroupBy function core/includes/database/select.inc Implements SelectQueryInterface::getGroupBy().
views_handler::groupby_form function core/modules/views/includes/handlers.inc Provide a form for aggregation settings.
SelectQueryExtender::groupBy function core/includes/database/select.inc Groups the result set by the specified field.
SelectQueryInterface::groupBy function core/includes/database/select.inc Groups the result set by the specified field.
viewsUiGroupbyTestCase::setUp function core/modules/views/tests/views_groupby.test Sets up a Backdrop site for running functional and integration tests.
ViewsQueryGroupByTest::$profile property core/modules/views/tests/views_groupby.test The profile to install as a basis for testing.
SelectQueryExtender::getGroupBy function core/includes/database/select.inc Returns a reference to the group-by array for this query.
SelectQueryInterface::getGroupBy function core/includes/database/select.inc Returns a reference to the group-by array for this query.
views_handler::groupby_form_submit function core/modules/views/includes/handlers.inc Perform any necessary changes to the form values prior to storage. There is no need for this function to actually store the data.
ViewsQueryGroupByTest::testGroupBySum function core/modules/views/tests/views_groupby.test
ViewsQueryGroupByTest::testGroupByMin function core/modules/views/tests/views_groupby.test
ViewsQueryGroupByTest::testGroupByMax function core/modules/views/tests/views_groupby.test
ViewsQueryGroupByTest::testGroupByNone function core/modules/views/tests/views_groupby.test
views_handler_field_field::groupby_form function core/modules/field/views/views_handler_field_field.inc Extend the groupby form with group columns.
views_plugin_query_default::add_groupby function core/modules/views/plugins/views_plugin_query_default.inc 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.
ViewsQueryGroupByTest::testGroupByCount function core/modules/views/tests/views_groupby.test
viewsUiGroupbyTestCase::testGroupBySave function core/modules/views/tests/views_groupby.test Tests whether basic saving works.
ViewsQueryGroupByTest::GroupByTestHelper function core/modules/views/tests/views_groupby.test
ViewsQueryGroupByTest::testAggregateCount function core/modules/views/tests/views_groupby.test Tests aggregate count feature.
ViewsQueryGroupByTest::testGroupByAverage function core/modules/views/tests/views_groupby.test
DatabaseSelectComplexTestCase::testGroupBy function core/modules/simpletest/tests/database_test.test Test GROUP BY clauses.
ViewsQueryGroupByTest::viewsGroupByViewHelper function core/modules/views/tests/views_groupby.test
views_handler_field_field::groupby_form_submit function core/modules/field/views/views_handler_field_field.inc Perform any necessary changes to the form values prior to storage. There is no need for this function to actually store the data.
ViewsQueryGroupByTest::viewsAggregateCountView function core/modules/views/tests/views_groupby.test
ViewsQueryGroupByTest::testGroupByCountOnlyFilters function core/modules/views/tests/views_groupby.test
DatabaseSelectComplexTestCase::testGroupByAndHaving function core/modules/simpletest/tests/database_test.test Test GROUP BY and HAVING clauses together.
DatabaseSelectComplexTestCase::testCountQueryGroupBy function core/modules/simpletest/tests/database_test.test Test that we can generate a count query from a query with GROUP BY.
ViewsQueryGroupByTest::viewsGroupByCountViewOnlyFilters function core/modules/views/tests/views_groupby.test
  • Developer Documentation
    • Advanced Installation
    • Developing Modules
    • Developing Themes
    • Developing Layouts
    • Upgrading from Drupal 7
    • Converting Drupal code
      • Converting modules
      • Converting themes
      • Change Records
    • Working w Config Management
    • Deploying a Backdrop site
    • Coding & documentation standards
    • Writing secure code
    • Contribute to Backdrop
  • Backdrop API
    • Topics
    • Functions
    • Classes
    • Files
    • Globals
    • Form API Reference
  • Glossary

Stay connected

Sign up for our newsletter

Powered by Backdrop CMS
  • backdropcms.org
  • forum.backdropcms.org