Sha256: e9ea10195a6f9559816ad439f8d5cea03cf4bc178e54d28b7c02ed1c5064e4ae

Contents?: true

Size: 360 Bytes

Versions: 12

Compression:

Stored size: 360 Bytes

Contents

class Symbol
  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 # class Symbol

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
dm-aggregates-0.9.11 lib/dm-aggregates/support/symbol.rb
dm-aggregates-0.9.10 lib/dm-aggregates/support/symbol.rb
dm-aggregates-0.9.6 lib/dm-aggregates/support/symbol.rb
dm-aggregates-0.9.9 lib/dm-aggregates/support/symbol.rb
dm-aggregates-0.9.7 lib/dm-aggregates/support/symbol.rb
dm-aggregates-0.9.3 lib/dm-aggregates/support/symbol.rb
dm-aggregates-0.9.4 lib/dm-aggregates/support/symbol.rb
dm-aggregates-0.9.5 lib/dm-aggregates/support/symbol.rb
dm-aggregates-0.9.8 lib/dm-aggregates/support/symbol.rb
mack-data_mapper-0.8.2 lib/gems/dm-aggregates-0.9.7/lib/dm-aggregates/support/symbol.rb
mack-data_mapper-0.8.3.1 lib/gems/dm-aggregates-0.9.9/lib/dm-aggregates/support/symbol.rb
mack-data_mapper-0.8.3 lib/gems/dm-aggregates-0.9.9/lib/dm-aggregates/support/symbol.rb