|
|
SKIP clause is used for defining from which row to start including the rows in the output.
Before proceeding with the example, create 5 nodes as shown below.
Below is a sample Cypher Query which returns all the nodes in the database skipping the first 3 nodes.
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.
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.
Records of a result can be skipped using an expression.
Below is a sample Cypher Query which uses the SKIP clause with an expression.
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.
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.
|
|
All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.