apoc.refactor.mergeRelationships

Procedure

apoc.refactor.mergeRelationships(rels [Rel], config Map<String, Any>) - merges the given list of relationships onto the first relationship in the 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