Module: DataMapper::Aggregates::Operators

### Home Classes Methods

### In Files

- lib/dm-aggregates/operators.rb

### Methods

- #avg
- #count
- #max
- #min
- #sum

### Files

- LICENSE
- README.rdoc

### Class/Module Index

Quicksearch

- DataMapper
- DataMapper::Adapters
- DataMapper::Aggregates
- DataMapper::Aggregates::Collection
- DataMapper::Aggregates::DataObjectsAdapter
- DataMapper::Aggregates::Functions
- DataMapper::Aggregates::Model
- DataMapper::Aggregates::Operators
- DataMapper::Aggregates::Query
- DataMapper::Aggregates::Repository
- Symbol

No matching classes.

# DataMapper::Aggregates::Operators

### Public Instance Methods

avg() click to toggle source

    # File lib/dm-aggregates/operators.rb, line 16
    def avg
      DataMapper::Query::Operator.new(self, :avg)
    end

count() click to toggle source

    # File lib/dm-aggregates/operators.rb, line 4
    def count
      DataMapper::Query::Operator.new(self, :count)
    end

max() click to toggle source

    # File lib/dm-aggregates/operators.rb, line 12
    def max
      DataMapper::Query::Operator.new(self, :max)
    end

min() click to toggle source

    # File lib/dm-aggregates/operators.rb, line 8
    def min
      DataMapper::Query::Operator.new(self, :min)
    end

sum() click to toggle source

    # File lib/dm-aggregates/operators.rb, line 20
    def sum
      DataMapper::Query::Operator.new(self, :sum)
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.