Cypher: Add "unwind" capability--the opposite of "collect" #30

lassewesth opened this Issue Nov 12, 2012 · 4 comments


None yet

4 participants

Neo4j member

@wfreeman: 'If you have a property that's an array, it is sometimes useful to break that array up and return a cartesian product of the array and the rest of its record (for all result records).

I think this would be handy, especially used with group by and collect, to massage results.

The name unwind comes from MongoDB's aggregation framework function, but we don't have to call it the same thing:

Partly inspired by:

I'll post some example use cases later. Any comments?'

Neo4j member



Closing this as the first official "awesome but not right now" issue :)

@jakewins jakewins closed this Mar 4, 2013

Any Idea if this has been done


It's in 2.1 so far.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment