pub fn parse_aggregate(value: &Value) -> Result<AggregateSpec, String>Expand description
{ count?, sum?: string[], avg?, min?, max?, groupBy?: string }. An absent document asks for the
default aggregate (just the count).
pub fn parse_aggregate(value: &Value) -> Result<AggregateSpec, String>{ count?, sum?: string[], avg?, min?, max?, groupBy?: string }. An absent document asks for the
default aggregate (just the count).