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