How to create unique constraint involving multiple properties in Neo4J
问题 I know I can create a unique constraint on a single property with Cypher like CREATE CONSTRAINT ON (p:Person) ASSERT p.name IS UNIQUE . But I was wondering whether it is possible to create a unique constraint which involves multiple properties. If so, how? 回答1: neo4j (2.0.1) does not currently support a uniqueness constraint that covers multiple properties simultaneously. However, I can think of a workaround that might be acceptable, depending on your use cases. Let's say you want properties