apoc.coll.disjunction
Function
apoc.coll.disjunction(list1 [Any], list2[Any])
- returns the disjunct set of two lists.
Usage examples
The following returns the unique disjunction of two lists:
RETURN apoc.coll.disjunction([1,2,3,4,5], [3,4,5]) AS output;
Output |
---|
[1, 2] |
Was this page helpful?