Sha256: c05f0f35816e50aa10fff3e4f3115551d31471fcf45dfc7c0c2e3fa05d8f72d5
Contents?: true
Size: 184 Bytes
Versions: 9
Compression:
Stored size: 184 Bytes
Contents
module Prosperity class Aggregate::Minimum < Aggregate::WithColumn def to_sql "MIN(#{column})" end def apply(scope) scope.minimum(column) end end end
Version data entries
9 entries across 9 versions & 1 rubygems