apoc.coll.union
Function APOC Core
apoc.coll.union(first, second) - creates the distinct union of the 2 lists
Usage Examples
The following creates a distinct union of two lists:
RETURN apoc.coll.union([1,2,3,4,5], [3,4,5,6,7]) AS output;
Output |
---|
[1, 2, 3, 4, 5, 6, 7] |
Was this page helpful?