apoc.coll.zipToRows
Procedure APOC Core
apoc.coll.zipToRows(list1,list2) - creates pairs like zip but emits one row per pair
Signature
apoc.coll.zipToRows(list1 :: LIST? OF ANY?, list2 :: LIST? OF ANY?) :: (value :: LIST? OF ANY?)
Usage Examples
The following indicates whether all values in a collection are different:
CALL apoc.coll.zipToRows([1,2,3], ["a", "b", "c"]);
value |
---|
[1, "a"] |
[2, "b"] |
[3, "c"] |
Was this page helpful?