Creating Node Key Constraints
2.8 · Video Lesson

Creating Node Key Constraints

A Full definition for node (opens in a new tab)A vertex in a graph. In a property graph it can carry labels and properties. key is a specialized type of Full definition for constraint (opens in a new tab)A rule the database enforces on every node or relationship with a given label or type, rejecting any write that breaks it. for the Full definition for property (opens in a new tab)A named value stored on a node or a relationship. of a node. It combines existence with uniqueness.

For example, a Person node's tmdbId value must be unique and exist.