apoc.coll.sumLongs

Function APOC Core

apoc.coll.sumLongs([1,3,3])

Signature

apoc.coll.sumLongs(numbers :: LIST? OF NUMBER?) :: (INTEGER?)

Input parameters

Name Type Default

numbers

LIST? OF NUMBER?

null

Usage Examples

The following computes the sum of numeric values in a list:

RETURN apoc.coll.sumLongs([1,2,3,4,5]) AS output;
Table 1. Results
Output

15