Neo4j Unwind Clause - Neo4j

What is unwind clause in Neo4j?

Unwind clause is used to unwind a list into a sequence of rows.

Example

Below is a sample Cypher Query which unwinds a list.

To execute the above query, carry out below steps

Step 1 − Open the Neo4j desktop App and start the Neo4j Server. Open the built-in browser app of Neo4j using the URL http://localhost:7474/ as shown in below screenshot.

browser app

Step 2 − Copy and paste the desired query in the dollar prompt and press the play button (to execute the query) highlighted in below screenshot.

return_collect

Result

collect_result

All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

Neo4j Topics