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

Hello @armensanoyan :slight_smile:

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

1 Like

Thank you, now it is crystally clear!

1 Like