apoc.refactor.extractNode

Procedure

apoc.refactor.extractNode([rel1,rel2,…​], [labels],'OUT','IN') extract node from relationships

Signature

apoc.refactor.extractNode(relationships :: ANY?, labels :: LIST? OF STRING?, outType :: STRING?, inType :: STRING?) :: (input :: INTEGER?, output :: NODE?, error :: STRING?)

Input parameters

Name Type Default

relationships

ANY?

null

labels

LIST? OF STRING?

null

outType

STRING?

null

inType

STRING?

null

Output parameters

Name Type

input

INTEGER?

output

NODE?

error

STRING?