Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
06-17-2021 07:28 AM
Hi,
I need to add the concept of tags in my data structure.
I have "Group" nodes and I want to classify them with tags.
Since in my case the tag would only have the "name" attribute, I thought there are two different ways to do this:
Which approach is better? Are there any other better solutions?
Thank!
06-17-2021 09:35 AM
1 is the better approach
06-17-2021 10:32 PM
Option 1 is non-invasive and all your Group nodes remain same, With option 2, you are changing the node label from 'Group' to 'Tag' and any query that was referencing this 'Group' node will fail and also in production environment this is a risky operation. My approach is prevention is better than cure!
06-18-2021 02:46 AM
@ameyasoft actually with the option 2, I didn't mean to change label from Group to Tag, but to add labels to Group.
All the sessions of the conference are now available online