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