0
有没有办法在Neo4j中修复标签的结构?例如,修复标签:修复标签的结构
Person {
name : String,
lastname : String
}
然后:
(p1:Person {name:"Jhon", lastname:"Doe"}) --> OK
(p2:Person {name:"Jenny", lastname:"Doe", age:"18"}) --> error
据我所知,没有办法要求特定标签的特定属性(或防止他人)。 – jonrsharpe
@jonrsharpe这就是我害怕的......谢谢 –
你可以在企业版中要求他们([property existence constraints](http://neo4j.com/docs/developer-manual/current/cypher/#query- constraints-prop-exist-nodes)),但不能阻止或限制他人。 –