apoc.coll.toSet
Function APOC Core
apoc.coll.toSet([list]) returns a unique list backed by a set
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?