Remove Duplicate Relationships¶
Merges duplicate relationships between the same pair of nodes.
Priority: 2
Details¶
Finds all cases where multiple relationships of the same type exist between the same two nodes, and merges them using apoc.refactor.mergeRelationships. Properties are overwritten from the latest relationship. Uses apoc.periodic.iterate for batched processing.