apoc.coll.reverse
Function APOC Core Deprecated
apoc.coll.reverse(coll) - returns reversed list
Usage Examples
The following reverses a collection:
RETURN apoc.coll.reverse([5,4,3,2,1]) AS output;
Output |
---|
[1, 2, 3, 4, 5] |
Was this page helpful?