apoc.coll.runningTotal

Function APOC Core

apoc.coll.runningTotal(list1) - returns an accumulative array. For example apoc.coll.runningTotal([1,2,3.5]) return [1,3,6.5]

Signature

apoc.coll.runningTotal(list :: LIST? OF NUMBER?) :: (LIST? OF ANY?)

Input parameters

Name Type Default

list

LIST? OF NUMBER?

null