Challenge: Create Custom Cypher for Write
You have learned how to create, read, and delete iFull definition for node (opens in a new tab)A vertex in a graph. In a property graph it can carry labels and properties. in the Neo4j database (the C, R, and D in the popular CRUD acronym). The only part of the puzzle left is to update (U) nodes in the database.
Your challenge is to create a custom method in the repository interface using the @Query annotation with a provided iFull 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. statement that writes an update to the database. Once you have created the method and query, you will need to test the application and verify the results.
Join GraphAcademy to keep learning
Create your account to unlock 80+ hours of hands-on Neo4j courses, track your progress, and earn a certificate when you complete the course.
Sign in or register