Method: ElasticRecord::Relation::SearchMethods#aggregate
- Defined in:
- lib/elastic_record/relation/search_methods.rb
#aggregate(aggregation) ⇒ Object
135 136 137 |
# File 'lib/elastic_record/relation/search_methods.rb', line 135 def aggregate(aggregation) clone.aggregate! aggregation end |