Description

*

* Aggregates accepts n "sub-aggregates" to be applied to this aggregate
*
* agg := Aggregate("user").Term("user_id")
* agg.Aggregates(
*   Aggregate("total_spent").Sum("price"),
*   Aggregate("total_saved").Sum("discount"),
* )

Aggregates is referenced in 1 repository

github.com/mattbaird/elastigo