apoc.coll.toSet
Function
apoc.coll.toSet(coll [Any])
- returns a unique list from the given list.
Usage examples
The following converts a list to a set:
RETURN apoc.coll.toSet([1,1,2,1,3,4,1]) AS output;
Output |
---|
[1, 2, 3, 4] |
Was this page helpful?