niklaus
niklaus

Reputation: 334

Neo4j how can I merge two nodes in Java?

Any fast ways to merge two nodes into one, without traverse the properties and relatioships myself?

Any advice would be appreciated!

Upvotes: 1

Views: 327

Answers (1)

James
James

Reputation: 12192

You have to implement that yourself - including conflict resolution if e.g. both nodes contains the same property with different values etc.

Neo4j does not offer any support for this (since this is probably not a very common use case).

Upvotes: 2

Related Questions