Method: ElasticRecord::Relation::SearchMethods#aggregate!

Defined in:
lib/elastic_record/relation/search_methods.rb

#aggregate!(aggregation) ⇒ Object



130
131
132
133
# File 'lib/elastic_record/relation/search_methods.rb', line 130

def aggregate!(aggregation)
  self.aggregation_values += [aggregation]
  self
end