cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

What is identProps in apoc.merge.node

Hi! From documentation I understood that identProps should identify your node so I assumed that they should be unique for nodes with same label. But in practice I couldn't find any difference between them. So I hope you can explain or send me article about it. Thank you.
Armen

1 ACCEPTED SOLUTION

Hello @armensanoyan

There are 4 parameters in this order for the apoc.merge.node() function:

  • label: represents the labels you want to set on the node
  • identProps: represents the properties that uniquely identify the node
  • onCreateProps: represents the properties you want to set when the node is created
  • onMatchProps: represents the properties you want to set when the node is matched (so the node is already in the database)

Regards,
Cobra

View solution in original post

2 REPLIES 2

Hello @armensanoyan

There are 4 parameters in this order for the apoc.merge.node() function:

  • label: represents the labels you want to set on the node
  • identProps: represents the properties that uniquely identify the node
  • onCreateProps: represents the properties you want to set when the node is created
  • onMatchProps: represents the properties you want to set when the node is matched (so the node is already in the database)

Regards,
Cobra

Thank you, now it is crystally clear!