# File lib/dm-aggregates/repository.rb, line 4 def aggregate(query) return [] unless query.valid? adapter.aggregate(query) end