›Creating a Node Key Constraint
2.9 · Challenge
Creating a Node Key Constraint
In our Movie iFull definition for data model (opens in a new tab)The labels, relationship types and properties chosen to represent a domain., we want to ensure every Person in the graph has both name and url iFull definition for property (opens in a new tab)A named value stored on a node or a relationship. defined and also that the two properties combined are unique across all iFull definition for node (opens in a new tab)A vertex in a graph. In a property graph it can carry labels and properties..
Recall from earlier in this course that there are two Person nodes with the same name:
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