You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then create a relationship between Entity1 and the rest of the entities
MATCH (e1:Entity {name:'Entity1'}), (e2:Entity {name:'Entity2'}),(e3:Entity {name:'Entity3'}) WITH e1, e2, e3
CALL graph.versioner.relationship.create(e1, e2, 'REL') YIELD relationship AS rel12
CALL graph.versioner.relationship.create(e1, e3, 'REL') YIELD relationship AS rel13
RETURN rel12, rel13
After running this the graph shall look like this
Lets now remove the relationship between the entity1 and entity2
MATCH (e1:Entity {name:'Entity1'}), (e2:Entity {name:'Entity2'})
CALL graph.versioner.relationship.delete(e1, e2, 'REL') YIELD result
RETURN result
After this we expect the relationship between e1 and e3 to remain, but it disappears
Expected behavior
It was expected that when I used graph.versioner.relationship.delete(e1, e2, 'REL') only the relationship of type REL between the specified nodes was the only one deleted.
Desktop (please complete the following information):
OS: MacOS Mohave Version 10.14.5 (18F132)
Browser Google Chrome Version 78.0.3904.108 (Official Build) (64-bit)
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
tschn
pushed a commit
to tschn/neo4j-versioner-core
that referenced
this issue
Apr 22, 2020
Describe the bug
If you have a node
A
with multiple relationships of typeX
with B, C, and D having him as the source entity, if you executethe new current
State
ofA
will have not have any relationship of typeX
coming out of it.To Reproduce
Steps to reproduce the behavior:
After running this the graph shall look like this
After this we expect the relationship between e1 and e3 to remain, but it disappears
Expected behavior
It was expected that when I used
graph.versioner.relationship.delete(e1, e2, 'REL')
only the relationship of typeREL
between the specified nodes was the only one deleted.Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: