public function SelectQueryInterface::distinct

Sets this query to be DISTINCT.

Parameters

$distinct: TRUE to flag this query DISTINCT, FALSE to disable it.

Return value

SelectQueryInterface The called object.

2 methods override SelectQueryInterface::distinct()
SelectQuery::distinct in drupal/includes/database/select.inc
Sets this query to be DISTINCT.
SelectQueryExtender::distinct in drupal/includes/database/select.inc
Sets this query to be DISTINCT.

File

drupal/includes/database/select.inc, line 174

Class

SelectQueryInterface
Interface definition for a Select Query object.

Code

public function distinct($distinct = TRUE);