Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
03-16-2019 06:12 AM
I know it's possible to create uniqueness constraints on node labels, relationship properties, etc. However, there does not seem to be a way to enforce a uniqueness constraint on a number or relationships. I've seen some work arounds mentioned on Stack Overflow but nothing from the official documentation.
Has anyone found a proper way to restrict the number of relationships a node can have?
03-16-2019 08:21 AM
It's still on the roadmap. Our friends from GraphAware have finished a solution I once suggested using a transaction even handler.
see here https://github.com/graphaware/neo4j-framework/tree/master/runtime
03-25-2019 01:30 PM
Thank you, will check it out.
All the sessions of the conference are now available online