Merging nodes

It’s possible to merge two nodes?

I have a problem with duplicated nodes (same nodes but different uids). Some data is pointing to one node and some to another. I want all of this data to point to the one node.

How to write a query that will change all of the particular uid occurrences to another uid?It’s possible to replace uid?

I probably coud do it like this:

set {
   <0x25409d089> uid NEW_UID .
}

But I’m also wondering how to do it for the edges (nodes with fields that are set to this particular uid).

1 Like

It is kind of possible, but you would do in one by one manner. Using Upsert Block.

Please read this Bug with multi-level (nested bocks) in Upsert Block
The part “Just an Update”.

Ok, thanks