apoc.map.updateTree

Function APOC Core

apoc.map.updateTree(tree,key,) returns map - adds the {data} map on each level of the nested tree, where the key-value pairs match

Signature

apoc.map.updateTree(tree :: MAP?, key :: STRING?, data :: LIST? OF LIST? OF ANY?) :: (MAP?)

Input parameters

Name Type Default

tree

MAP?

null

key

STRING?

null

data

LIST? OF LIST? OF ANY?

null