Search for distinct

  1. Search 7.x for distinct
  2. Search 9.5.x for distinct
  3. Search 8.9.x for distinct
  4. Search 10.3.x for distinct
  5. Other projects
Title Object type File name Summary
FieldWebTest::testClickSortingDistinct function core/modules/views/tests/src/Functional/Handler/FieldWebTest.php Tests the default click sorting functionality with distinct.
Select::$distinct property core/lib/Drupal/Core/Database/Query/Select.php Whether or not this query should be DISTINCT.
Select::distinct function core/lib/Drupal/Core/Database/Query/Select.php Sets this query to be DISTINCT.
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::testDistinct function core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php Tests distinct queries.
SelectExtender::distinct function core/lib/Drupal/Core/Database/Query/SelectExtender.php Sets this query to be DISTINCT.
SelectInterface::distinct function core/lib/Drupal/Core/Database/Query/SelectInterface.php Sets this query to be DISTINCT.
Sql::$distinct property core/modules/views/src/Plugin/views/query/Sql.php A flag as to whether or not to make the primary field distinct.
Sql::$noDistinct property core/modules/views/src/Plugin/views/query/Sql.php Is the view marked as not distinct.
Sql::aggregationMethodDistinct function core/modules/views/src/Plugin/views/query/Sql.php Builds a SQL expression using DISTINCT.
Sql::setDistinct function core/modules/views/src/Plugin/views/query/Sql.php Set the view to be distinct (per base field).
views.view.test_distinct_click_sorting.yml file core/modules/views/tests/modules/views_test_config/test_views/views.view.test_distinct_click_sorting.yml core/modules/views/tests/modules/views_test_config/test_views/views.view.test_distinct_click_sorting.yml

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