apoc.refactor.cloneNodes

Procedure

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

Signature

apoc.refactor.cloneNodes(nodes :: LIST? OF NODE?, withRelationships = false :: BOOLEAN?, skipProperties = [] :: LIST? OF STRING?) :: (input :: INTEGER?, output :: NODE?, error :: STRING?)

Input parameters

Name Type Default

nodes

LIST? OF NODE?

null

withRelationships

BOOLEAN?

false

skipProperties

LIST? OF STRING?

[]

Output parameters

Name Type

input

INTEGER?

output

NODE?

error

STRING?