2671
2671
if f not in ('id', 'sequence')
2672
2672
if fget[f]['type'] in ('integer', 'float')
2674
2674
for f in aggregated_fields:
2675
2675
group_operator = fget[f].get('group_operator', 'sum')
2679
2679
flist += "%s(%s) AS %s" % (group_operator, qualified_field, f)
2681
2681
gb = groupby and (' GROUP BY ' + qualified_groupby_field) or ''