cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Property validation

OmarHamdy
Node Clone

Is there any way to create constraints on properties like string maximum and minimum length ? 

I want my query throw an exception if i created a node with property violating the max length constraint for example 

1 ACCEPTED SOLUTION

Hello @OmarHamdy 😊

It's not possible but I think you can find a workaround with an APOC trigger.

Regards,
Cobra

View solution in original post

2 REPLIES 2

Hello @OmarHamdy 😊

It's not possible but I think you can find a workaround with an APOC trigger.

Regards,
Cobra

OmarHamdy
Node Clone

Thank you so much