Creating Existence Constraints on Relationship Properties
2.6 · Video Lesson

Creating Existence Constraints on Relationship Properties

You may want to ensure that some Full 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. types always have a particular Full definition for property (opens in a new tab)A named value stored on a node or a relationship.. For example, a RATED relationship must have a property, rating.

Existence 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. are only available in Enterprise Edition.