Verifying Neo4j Validation at Database Level

I use Neo4j as my graph database. Suppose I want to limit the length of the username field to less than 10, is there a way to impose such a restriction at the database level?

+4
source share
1 answer

Now you will need to do this either at the application level or by registering a transaction hook that checks this property field for a specific criterion.

See:

+2
source

Source: https://habr.com/ru/post/1541717/


All Articles