Search for distinct

  1. Search 7.x for distinct
  2. Search 9.5.x for distinct
  3. Search 10.3.x for distinct
  4. Search 11.x for distinct
  5. Other projects
Title Object type File name Summary
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
Sql::setDistinct function core/modules/views/src/Plugin/views/query/Sql.php Set the view to be distinct (per base field).

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