apoc.coll.zipToRows
Procedure
apoc.coll.zipToRows(list1 [Any], list2 [Any])
- returns the two lists zipped together, with one row per zipped 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?