Although title is clear,
I need to remove a relationship between two nodes of a specific relationship type. Neither getSingleRelationship function of Node nor overloaded versions of getRelationships have second node parameter.
Should I get all relationships and iterate over it to find relationship? Is there any constant time way?
What is the recommended way in Core API or Traversal API?
Yes you would iterate over the relationships and check the end-node: