How to merge nodes in a query with apoc.refactor.mergeNodes([])
and then do something about the merged node?
When I use this:
WITH w2, minW, minW {.*} as snapshot
call apoc.refactor.mergeNodes([minW,w2]) YIELD reW
SET reW.first_seen =...
This error is thrown: Unknown procedure output: reW
If instead of using reW
, minW
is used, the error says that the variable has already been decleared