5.1 · Lesson

Custom Cypher for Read

So far, you have used Spring Data's derived find, save, and delete methods against the database. However, there are times when you need something a little different. This is where you can write custom Full definition for Cypher (opens in a new tab)Neo4j's implementation of GQL, the ISO standard query language for graph databases. It is declarative: you describe the pattern to find, and the database decides how to find it. queries for read operations.

Currently you have only implemented the Spring Data's out-of-the-box findAll(), findById(), save(), and deleteById() methods. These methods implement a standard use case for querying and saving data.