apoc.coll.frequencies
Syntax |
|
||
Description |
Returns a |
||
Arguments |
Name |
Type |
Description |
|
|
The list to return items and their count from. |
|
Returns |
|
Usage examples
The following returns a list of maps containing each item and their frequency in a collection:
RETURN apoc.coll.frequencies([1,3,5,7,9,9]) AS output;
Output |
---|
|