›Creating Movie Actors
4.2 · Lesson
Creating Movie Actors
You now know how to add a Movie iFull definition for node (opens in a new tab)A vertex in a graph. In a property graph it can carry labels and properties. to the database. But what if you also want to add the actors who acted in the movie? You can do this by passing a little more data to the save() method.
You can include information for saving iFull definition for relationship (opens in a new tab)A named, directed connection between two nodes. Every relationship has a type, a start node and an end node. to the JSON file and pass it to the save() method without any additional code changes.
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