Module: DataMapper::Aggregates

### Home Classes Methods

### In Files

- lib/dm-aggregates.rb
- lib/dm-aggregates/adapters/dm-do-adapter.rb
- lib/dm-aggregates/collection.rb
- lib/dm-aggregates/functions.rb
- lib/dm-aggregates/model.rb
- lib/dm-aggregates/operators.rb
- lib/dm-aggregates/query.rb
- lib/dm-aggregates/repository.rb

### Namespace

- MODULE DataMapper::Aggregates::Collection
- MODULE DataMapper::Aggregates::DataObjectsAdapter
- MODULE DataMapper::Aggregates::Functions
- MODULE DataMapper::Aggregates::Model
- MODULE DataMapper::Aggregates::Operators
- MODULE DataMapper::Aggregates::Query
- MODULE DataMapper::Aggregates::Repository

### Methods

- ::include_aggregate_api

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

### Public Class Methods

include_aggregate_api() click to toggle source

    # File lib/dm-aggregates.rb, line 12
    def self.include_aggregate_api
      [ :Repository, :Model, :Collection, :Query ].each do |name|
        DataMapper.const_get(name).send(:include, const_get(name))
      end
      Adapters::AbstractAdapter.descendants.each do |adapter_class|
        Adapters.include_aggregate_api(DataMapper::Inflector.demodulize(adapter_class.name))
      end
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.