apoc.coll.frequenciesAsMap

Function

apoc.coll.frequenciesAsMap(coll) - return a map of frequencies of the items in the collection, key item, value count (e.g., {1:2, 2:1})

Signature

apoc.coll.frequenciesAsMap(coll :: LIST? OF ANY?) :: (MAP?)

Input parameters

Name Type Default

coll

LIST? OF ANY?

null