Sha256: 008c97b4ad55055df4152dc0c250e1b911f79caa9b37a32b5bbd509ac0d71df8
Contents?: true
Size: 198 Bytes
Versions: 6
Compression:
Stored size: 198 Bytes
Contents
module Repor module Aggregators class SumAggregator < BaseAggregator def aggregation(groups) groups.select("SUM(#{expression}) AS #{sql_value_name}") end end end end
Version data entries
6 entries across 6 versions & 1 rubygems