Skip to main content
Backdrop CMS Documentation
Documentation and API source code for Backdrop CMS.
  • Welcome!
    • Login

You are here

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

Search for countQuery

Name Type Location Description
SearchQuery::countQuery function core/modules/search/search.extender.inc Builds the default count query for SearchQuery.
SelectQuery::countQuery function core/includes/database/select.inc Implements SelectQueryInterface::countQuery().
PagerDefault::setCountQuery function core/includes/pager.class.inc Specify the count query object to use for this pager.
PagerDefault::getCountQuery function core/includes/pager.class.inc Retrieve the count query for this pager.
PagerDefault::$customCountQuery property core/includes/pager.class.inc The count query that will be used for this pager.
SelectQueryExtender::countQuery function core/includes/database/select.inc Get the equivalent COUNT query of this query as a new query object.
SelectQueryInterface::countQuery function core/includes/database/select.inc Get the equivalent COUNT query of this query as a new query object.
DatabaseSelectComplexTestCase::testCountQuery function core/modules/simpletest/tests/database_test.test Test that we can generate a count query from a built query.
DatabaseSelectComplexTestCase::testHavingCountQuery function core/modules/simpletest/tests/database_test.test
DatabaseSelectComplexTestCase::testCountQueryGroupBy function core/modules/simpletest/tests/database_test.test Test that we can generate a count query from a query with GROUP BY.
DatabaseSelectComplexTestCase::testCountQueryRemovals function core/modules/simpletest/tests/database_test.test Test that countQuery properly removes 'all_fields' statements and ordering clauses.
DatabaseSelectComplexTestCase::testCountQueryDistinct function core/modules/simpletest/tests/database_test.test Test that we can generate a count query from a query with distinct.
DatabaseSelectComplexTestCase::testCountQueryFieldRemovals function core/modules/simpletest/tests/database_test.test Test that countQuery properly removes fields and expressions.
  • Getting Started
    • Installing
    • Updates vs Upgrades
    • Hosting/Deploying
  • Upgrading from Drupal
    • Introduction
    • Upgrade Overview
    • Converting Drupal code
      • Converting modules
      • Converting themes
  • User Guide
    • Quick Start Guide
    • Using Backdrop
    • Contributed Modules
  • Developing for Backdrop
    • Developing Modules
    • Developing Themes
    • Developing Layouts
    • Writing Secure Code
  • Contributors Guide
    • How to use the core issue queue
    • Contribute to Backdrop
  • API
    • Topics
    • Functions
    • Classes
    • Files
    • Globals
    • Form API Reference
  • Appendix/Reference
    • Change Records
    • Glossary
    • Coding & documentation standards

Stay connected

Sign up for our newsletter

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