function views_plugin_query_default::set_distinct
Same name in other branches
- 7.x-3.x plugins/views_plugin_query_default.inc \views_plugin_query_default::set_distinct()
Set the base field to be distinct.
1 call to views_plugin_query_default::set_distinct()
- views_plugin_query_default::build in plugins/
views_plugin_query_default.inc - Builds the necessary info to execute the query.
File
-
plugins/
views_plugin_query_default.inc, line 137
Class
- views_plugin_query_default
- Object used to create a SELECT query.
Code
function set_distinct($value = TRUE) {
if (!(isset($this->no_distinct) && $value)) {
$this->distinct = $value;
}
}