apoc.refactor.from

Procedure

apoc.refactor.from(rel, startNode) redirect relationship to use new start-node

Signature

apoc.refactor.from(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?