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 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);

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