Sha256: b65107d07ae31ac08d4d1cbec3adf829ede8ea83b00fabde27c70d2411bda27e

Contents?: true

Size: 524 Bytes

Versions: 6

Compression:

Stored size: 524 Bytes

Contents

module DataMapper
  module Aggregates
    module Operators
      def count
        DataMapper::Query::Operator.new(self, :count)
      end

      def min
        DataMapper::Query::Operator.new(self, :min)
      end

      def max
        DataMapper::Query::Operator.new(self, :max)
      end

      def avg
        DataMapper::Query::Operator.new(self, :avg)
      end

      def sum
        DataMapper::Query::Operator.new(self, :sum)
      end
    end # module Operators
  end # module Aggregates
end # module DataMapper

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
ardm-aggregates-1.2.0 lib/dm-aggregates/operators.rb
dm-aggregates-1.2.0 lib/dm-aggregates/operators.rb
dm-aggregates-1.2.0.rc2 lib/dm-aggregates/operators.rb
dm-aggregates-1.2.0.rc1 lib/dm-aggregates/operators.rb
dm-aggregates-1.1.0 lib/dm-aggregates/operators.rb
dm-aggregates-1.1.0.rc3 lib/dm-aggregates/operators.rb