apoc.refactor.mergeNodes

Procedure

apoc.refactor.mergeNodes([node1,node2],[{properties:'overwrite' or 'discard' or 'combine'}]) merge nodes onto first in list

Signature

apoc.refactor.mergeNodes(nodes :: LIST? OF NODE?, config = {} :: MAP?) :: (node :: NODE?)

Input parameters

Name Type Default

nodes

LIST? OF NODE?

null

config

MAP?

{}

Output parameters