Neo4j constraints: UNIQUENESS only? -
the neo4j manual page on constraints shows type of each constraint uniqueness. there other kind of constraint can applied?
currently, in neo4j stable version uniqueness constraint supported.
but, in upcoming 2.3.0 release there new constraint added in neo4j - property exists.
example:
create constraint on (book:book) assert exists(book.isbn) create constraint on ()-[like:liked]-() assert exists(like.day) docs new constraint can found in 2.3.0-m03 release documentation - http://neo4j.com/docs/2.3.0-m03/query-constraints.html
also, can checkout blog post neo new constraints presented - http://neo4j.com/blog/neo4j-2-3-milestone-3-release/
note: new contraint available enterprise version.
Comments
Post a Comment