apoc.coll.partition
Function APOC Core
apoc.coll.partition(list,batchSize)
Usage Examples
The following partitions a list into sublists of size 2
:
CALL apoc.coll.partition([1,2,3,4,5], 2);
Value |
---|
[1, 2] |
[3, 4] |
[5] |
Was this page helpful?