Sha256: 3a510c079822a26b07225ab9ec6d79a1c4ec57d1347f715fb6df5d35b295047c

Contents?: true

Size: 198 Bytes

Versions: 6

Compression:

Stored size: 198 Bytes

Contents

module Repor
  module Aggregators
    class MinAggregator < BaseAggregator
      def aggregation(groups)
        groups.select("MIN(#{expression}) AS #{sql_value_name}")
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
repor-0.1.0 lib/repor/aggregators/min_aggregator.rb
repor-0.0.5 lib/repor/aggregators/min_aggregator.rb
repor-0.0.4 lib/repor/aggregators/min_aggregator.rb
repor-0.0.3 lib/repor/aggregators/min_aggregator.rb
repor-0.0.2 lib/repor/aggregators/min_aggregator.rb
repor-0.0.1 lib/repor/aggregators/min_aggregator.rb