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
The text was updated successfully, but these errors were encountered:
alfredo-f
changed the title
Subgraph.__db_create__ doesn't create multiple relationships between the same nodesSubgraph.__db_create__ doesn't create multiple relationships between the same nodes
Nov 28, 2022
Issue
Description
Expected behavior
Given that
relationship_2
has a differentid_overwritten
, a new relationship should be created.Actual behavior
relationship_1
is replaced withrelationship_2
Cause
This is due to the fact that
Subgraph.__db_create__
has no option forCREATE
ing instead ofMERGE
inghttps://github.com/py2neo-org/py2neo/blob/2e46bbf4d622f53282e796ffc521fc4bc6d0b60d/py2neo/data.py#L209
Workaround
so that
The text was updated successfully, but these errors were encountered: