Not null attribute in Neo4J constraint

杀马特。学长 韩版系。学妹 提交于 2020-01-15 08:41:26

问题


It is possible to create constraint in Neo4J database for attribute to be not null? Something like:

CREATE CONSTRAINT ON (p:Person) ASSERT p.name IS NOT NULL

回答1:


It's planned and been already implemented for Neo4j 2.3, should be available with 2.3.RC1



来源:https://stackoverflow.com/questions/31439614/not-null-attribute-in-neo4j-constraint

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!