SelectInterface::distinct

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);
doc_Drupal
2016-10-29 09:41:40
Comments
Leave a Comment

Please login to continue.