apoc.refactor.mergeRelationships

Procedure APOC Core

apoc.refactor.mergeRelationships([rel1,rel2]) merge relationships onto first in list

Signature

apoc.refactor.mergeRelationships(rels :: LIST? OF RELATIONSHIP?, config = {} :: MAP?) :: (rel :: RELATIONSHIP?)

Input parameters

Name Type Default

rels

LIST? OF RELATIONSHIP?

null

config

MAP?

{}

Output parameters