sum method

Map sum(
  1. String attr
)

Compute the sum of the given field in the group.

Implementation

Map sum(String attr) => {'SUM': attr};