Help using apoc.convert.toTree config option to include/exclude certain properties

apoc
(Paul Are) #1

Hi,

I tried to play with apoc.conver.toTree. It seems that the option to include/exclude certain properties works only in case I have a dataset where all nodes are the same type. In case I have branches/leaves with another node type, then all properties are returned for another type.

Maybe I did not understand the syntax and there is some way to define behavior for different node types as well?

Related:

0 Likes