apoc.coll.combinations
Function
apoc.coll.combinations(coll, minSelect, maxSelect:minSelect) - Returns collection of all combinations of list elements of selection size between minSelect and maxSelect (default:minSelect), inclusive
Signature
apoc.coll.combinations(coll :: LIST? OF ANY?, minSelect :: INTEGER?, maxSelect = -1 :: INTEGER?) :: (LIST? OF ANY?)
Input parameters
Name | Type | Default |
---|---|---|
coll |
LIST? OF ANY? |
null |
minSelect |
INTEGER? |
null |
maxSelect |
INTEGER? |
-1 |
Was this page helpful?