public SelectInterface::distinct($distinct = TRUE)
Sets this query to be DISTINCT.
Parameters
$distinct: TRUE to flag this query DISTINCT, FALSE to disable it.
Return value
\Drupal\Core\Database\Query\SelectInterface The called object.
File
- core/lib/Drupal/Core/Database/Query/SelectInterface.php, line 175
Class
- SelectInterface
- Interface definition for a Select Query object.
Namespace
Drupal\Core\Database\Query
Code
public function distinct($distinct = TRUE);
Please login to continue.