-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Graph Data Processing with Cypher
By :

In the last chapter, we looked at working with lists and maps. In this chapter, we will explore some advanced query patterns using Cypher clauses. We will discuss query chaining using the WITH
clause, iterate lists to modify the graph using the FOREACH
and UNWIND
clauses, and leverage count stores for building optimal queries. We will also take a look at simulating if condition using the FOREACH
clause. We will take a deeper look at these clauses and discuss how they can help us in building more advanced and complex queries.
In this chapter, we will be covering the following aspects:
WITH
clauseCASE
clauseFOREACH
clauseUNWIND
clauseFirst, we will start by exploring the WITH
clause. This is a very powerful paradigm that helps us build complex and performant queries with ease.