120
Neo4j WHERE Clause
In Neo4j CQL WHERE clause is used to specify a condition to retrieve the exact data which we want to retrieve.
Syntax:
Example:
Let’s use WHERE clause to return all the nodes from the Neo4j database where POB of the node (player) is “Chennai”.
Output:
You can see it in tabular form to verify:
WHERE Clause with Multiple Conditions
You can use “WHERE” clause with multiple conditions.
Syntax:
Example:
Use the following query to filters the nodes in the Neo4j database using two conditions.
Output:
In the above example, we have used “AND” clause to specify multiple conditions.
Next TopicNeo4j Count() Function