apoc.coll.sumLongs
Function
apoc.coll.sumLongs(coll [Number])
- returns the sum of all the numbers in the list.
Usage examples
The following computes the sum of numeric values in a list:
RETURN apoc.coll.sumLongs([1,2,3,4,5]) AS output;
Output |
---|
15 |
Was this page helpful?