Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Not null attribute in Neo4J constraint

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
like image 851
Tomáš Páchnik Avatar asked Oct 19 '25 16:10

Tomáš Páchnik


1 Answers

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

like image 120
Michael Hunger Avatar answered Oct 21 '25 07:10

Michael Hunger



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!