Search for countQuery

  1. Search 7.x for countQuery
  2. Search 9.5.x for countQuery
  3. Search 8.9.x for countQuery
  4. Search 11.x for countQuery
  5. Other projects
Title Object type File name Summary
PagerSelectExtender::$customCountQuery property core/lib/Drupal/Core/Database/Query/PagerSelectExtender.php The count query that will be used for this pager.
PagerSelectExtender::getCountQuery function core/lib/Drupal/Core/Database/Query/PagerSelectExtender.php Retrieve the count query for this pager.
PagerSelectExtender::setCountQuery function core/lib/Drupal/Core/Database/Query/PagerSelectExtender.php Specify the count query object to use for this pager.
Select::countQuery function core/lib/Drupal/Core/Database/Query/Select.php Get the equivalent COUNT query of this query as a new query object.
Select::prepareCountQuery function core/lib/Drupal/Core/Database/Query/Select.php Prepares a count query from the current query object.
SelectComplexTest::testCountQuery function core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php Tests that we can generate a count query from a built query.
SelectComplexTest::testCountQueryDistinct function core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php Tests that we can generate a count query from a query with distinct.
SelectComplexTest::testCountQueryFieldRemovals function core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php Tests that countQuery properly removes fields and expressions.
SelectComplexTest::testCountQueryGroupBy function core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php Tests that we can generate a count query from a query with GROUP BY.
SelectComplexTest::testCountQueryRemovals function core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php Tests that countQuery removes 'all_fields' statements and ordering clauses.
SelectComplexTest::testHavingCountQuery function core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php Tests having queries.
SelectExtender::countQuery function core/lib/Drupal/Core/Database/Query/SelectExtender.php Get the equivalent COUNT query of this query as a new query object.
SelectInterface::countQuery function core/lib/Drupal/Core/Database/Query/SelectInterface.php Get the equivalent COUNT query of this query as a new query object.

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