GraphQueryAggregate
A flat aggregation over the anchor node set: buckets nodes by the groupBy fields and computes the requested metrics per bucket. Supported only for resource anchors, and not combinable with traversal.
Properties
groupByarray[string] requiredQueryable node fields to bucket by, in nesting order. A resource that does not carry one of these fields — including one whose stored value is empty — is in no bucket at all.- Metrics computed per bucket.
- ↳
openum requiredThe metric operation.Values:count - ↳
aliasstring requiredThe key under which this metric appears in each returned bucket’s metrics map.