$query->distinct()
Enables distinct select clauses.
Parameters
Name | Type | Default |
---|---|---|
$distinct | bool |
true |
Return type
This method does not modify the existing $query
object but returns a new object with the changes applied. Learn more →