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 10.3.x for countQuery
  5. Other projects
Title Object type File name Summary
EntityResource::getCollectionCountQuery function core/modules/jsonapi/src/Controller/EntityResource.php Gets a basic query for a collection count.
Mini::useCountQuery function core/modules/views/src/Plugin/views/pager/Mini.php
None::executeCountQuery function core/modules/views/src/Plugin/views/pager/None.php
None::useCountQuery function core/modules/views/src/Plugin/views/pager/None.php
PagerPluginBase::executeCountQuery function core/modules/views/src/Plugin/views/pager/PagerPluginBase.php Executes the count query.
PagerPluginBase::useCountQuery function core/modules/views/src/Plugin/views/pager/PagerPluginBase.php Determine if a pager needs a count query.
PagerPluginBaseTest::testExecuteCountQueryWithOffset function core/modules/views/tests/src/Unit/Plugin/pager/PagerPluginBaseTest.php Tests the executeCountQuery method with a set offset.
PagerPluginBaseTest::testExecuteCountQueryWithOffsetLargerThanResult function core/modules/views/tests/src/Unit/Plugin/pager/PagerPluginBaseTest.php Tests the executeCountQuery method with an offset larger than result count.
PagerPluginBaseTest::testExecuteCountQueryWithoutOffset function core/modules/views/tests/src/Unit/Plugin/pager/PagerPluginBaseTest.php Tests the executeCountQuery method without a set offset.
PagerPluginBaseTest::testUseCountQuery function core/modules/views/tests/src/Unit/Plugin/pager/PagerPluginBaseTest.php Tests the useCountQuery() method.
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.
SearchQuery::countQuery function core/modules/search/src/SearchQuery.php Builds the default count query for SearchQuery.
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.
Some::useCountQuery function core/modules/views/src/Plugin/views/pager/Some.php

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