Announcement Announcement Module
No announcement yet.
Vertex nodes removing. Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Vertex nodes removing.

    OK, so I have a vertex node that is related to three other nodes.

    I have Item, User, Event nodes. When a User signs up to bring an Item to an Event I create a node called ItemUserSignedUpToBringToEvent, in that node has relationships between the three nodes.

    When someone decides to not bring that item I want to remove the vertex node. But when I go through that vertex nodes repo and call delete, it deletes the node, but not quite correctly. In my User object I still have an instance of the vertex node, where the properties for the other three nodes are now null.

    Do I have to go through the three nodes and remove the IUSUTBRE node from each of the three nodes Collections before deleting the vertex node from the repo? In some other normal relationships, I just go to one end of a relationship and remove the node from that ends collection and it automatically removes the relationship without having to call any repos, when in a transaction.