DataMapper::Aggregates::Operators

Public Instance Methods

avg() click to toggle source
    # File lib/dm-aggregates/operators.rb, line 16
16:       def avg
17:         DataMapper::Query::Operator.new(self, :avg)
18:       end
count() click to toggle source
   # File lib/dm-aggregates/operators.rb, line 4
4:       def count
5:         DataMapper::Query::Operator.new(self, :count)
6:       end
max() click to toggle source
    # File lib/dm-aggregates/operators.rb, line 12
12:       def max
13:         DataMapper::Query::Operator.new(self, :max)
14:       end
min() click to toggle source
    # File lib/dm-aggregates/operators.rb, line 8
 8:       def min
 9:         DataMapper::Query::Operator.new(self, :min)
10:       end
sum() click to toggle source
    # File lib/dm-aggregates/operators.rb, line 20
20:       def sum
21:         DataMapper::Query::Operator.new(self, :sum)
22:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.