The unwind clause is used to unwind a listing into a sequence of rows.
Example
Following is a sample Cypher Query which unwinds a listing.
UNWIND [a, b, c, d] AS x
RETURN x
To execute the above question, carry out the following steps −
Step 1 − Open the Neo4j desktop App and begin the Neo4j Server. Open the built-in browser app of Neo4j the usage of the URL http://localhost:7474/ as proven inside the following screenshot.
Step 2 − Copy and paste the favored question in the dollar spark off and press the play button (to execute the question) highlighted within the following screenshot.
Result
On executing, you will get the following end result.