apoc.refactor.to

Procedure APOC Core

apoc.refactor.to(rel, endNode) redirect relationship to use new end-node

Signature

apoc.refactor.to(relationship :: RELATIONSHIP?, newNode :: NODE?) :: (input :: INTEGER?, output :: RELATIONSHIP?, error :: STRING?)

Input parameters

Name Type Default

relationship

RELATIONSHIP?

null

newNode

NODE?

null

Output parameters

Name Type

input

INTEGER?

output

RELATIONSHIP?

error

STRING?