Creating Movie nodes
You have learned in previous lessons how to read nodesA vertex in a graph. In a property graph it can carry labels and properties. and relationshipsA named, directed connection between two nodes. Every relationship has a type, a start node and an end node. from the database. Now you will learn how to write them to the database by using the save() method to create a new node in Neo4j.
If you remember from an earlier lesson, Spring Data has some derived methods that are provided out-of-the-box. One of those is the save() method for saving data to a database. You will use this method to create new nodes in Neo4j.
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