apoc.refactor.invert

Procedure

apoc.refactor.invert(rel) inverts relationship direction

Signature

apoc.refactor.invert(relationship :: RELATIONSHIP?) :: (input :: INTEGER?, output :: RELATIONSHIP?, error :: STRING?)

Input parameters

Name Type Default

relationship

RELATIONSHIP?

null

Output parameters

Name Type

input

INTEGER?

output

RELATIONSHIP?

error

STRING?