cancel
Showing results for 
Search instead for 
Did you mean: 

Property validation

OmarHamdy
Node Link

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

Cobra
Ninja
Ninja

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

Cobra
Ninja
Ninja

Hello @OmarHamdy 😊

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

Regards,
Cobra

OmarHamdy
Node Link

Thank you so much