Step - sum
sum ยท category: Aggregation
Yields the sum of the numbers in the stream (Scope.local: of each collection).
Forms
sum()
sum(arg1: Scope)
Example
g.v().values("age").sum().next() // 123
sum ยท category: Aggregation
Yields the sum of the numbers in the stream (Scope.local: of each collection).
sum()
sum(arg1: Scope)
g.v().values("age").sum().next() // 123