apoc.refactor.cloneNodesWithRelationships

Procedure

apoc.refactor.cloneNodesWithRelationships([node1,node2,…​]) clone nodes with their labels, properties and relationships

Signature

apoc.refactor.cloneNodesWithRelationships(nodes :: LIST? OF NODE?) :: (input :: INTEGER?, output :: NODE?, error :: STRING?)

Input parameters

Name Type Default

nodes

LIST? OF NODE?

null

Output parameters

Name Type

input

INTEGER?

output

NODE?

error

STRING?