Neo4j constraints enforce uniqueness, existence, type, and keys
Neo4j Cypher manual listing property uniqueness, existence, type, and key constraints, and preferring graph types for schema.
Neo4j provides property uniqueness, existence (Enterprise), type (Enterprise), and key (Enterprise) constraints on nodes by label or relationships by type. Older CREATE CONSTRAINT syntax still adds constraints to a database’s graph type, but the docs recommend defining schema via graph types for richer constraint kinds and simpler long-term maintenance.
Based on: Constraints - Cypher Manual · Neo4j