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.

Uniqueness Constraint on a “global” property - uuid

admin3
Node Clone

Hi,

I would like to put a constraint on a property “uuid” that is Unique.

My issue is that the constraint call requires you to put at least one label but I want to avoid that since uuid exists in all nodes/labels.

What is the usual workaround to this?

Thanks

1 REPLY 1

Have a common label on all these nodes, e.g. :Entity or something.