You are here

function views_query_default_aggregation_method_simple in Views (for Drupal 7) 6.3

Same name and namespace in other branches
  1. 7.3 plugins/views_plugin_query_default.inc \views_query_default_aggregation_method_simple()
1 string reference to 'views_query_default_aggregation_method_simple'
views_plugin_query_default::get_aggregation_info in plugins/views_plugin_query_default.inc
Get aggregation info for group by queries.

File

plugins/views_plugin_query_default.inc, line 1385
views_plugin_query_default.inc Defines the default query object which builds SQL to execute using the Drupal database API.

Code

function views_query_default_aggregation_method_simple($group_type, $field) {
  return strtoupper($group_type) . '(' . $field . ')';
}