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
It's planned and been already implemented for Neo4j 2.3, should be available with 2.3.RC1
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With