Sha256: 1a578cf79c628fa6bc05724018b14924c0109b5216175d5bf6790698d10a2415

Contents?: true

Size: 212 Bytes

Versions: 2

Compression:

Stored size: 212 Bytes

Contents

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sbf-dm-aggregates-1.3.0 lib/dm-aggregates/repository.rb
sbf-dm-aggregates-1.3.0.beta lib/dm-aggregates/repository.rb