Uniqueness Constraint on a “global” property - uuid

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

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

1 Like