Sha256: 614911feb1c2ba1c56cd0aa020f1ca078615a1bbeb131ea0018c029fd4d64209

Contents?: true

Size: 216 Bytes

Versions: 6

Compression:

Stored size: 216 Bytes

Contents

module DataMapper
  module Aggregates
    module Repository
      def aggregate(query)
        unless query.valid?
          []
        else
          adapter.aggregate(query)
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

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