function views_query::set_group_operator in Views (for Drupal 7) 6.2
Control how all WHERE and HAVING groups are put together.
Parameters
$type: Either 'AND' or 'OR'
File
- includes/
query.inc, line 704 - query.inc Defines the query object which is the underlying layer in a View.
Class
- views_query
- Object used to create a SELECT query.
Code
function set_group_operator($type = 'AND') {
$this->group_operator = strtoupper($type);
}