public function SelectQueryInterface::distinct in Drupal 7
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 includes/
database/ select.inc - Sets this query to be DISTINCT.
- SelectQueryExtender::distinct in includes/
database/ select.inc - Sets this query to be DISTINCT.
File
- includes/
database/ select.inc, line 174
Class
- SelectQueryInterface
- Interface definition for a Select Query object.
Code
public function distinct($distinct = TRUE);