apoc.convert.toTree

Procedure

apoc.convert.toTree([paths],[lowerCaseRels=true], [config]) creates a stream of nested documents representing the at least one root of these paths

Signature

apoc.convert.toTree(paths :: LIST? OF PATH?, lowerCaseRels = true :: BOOLEAN?, config = {} :: MAP?) :: (value :: MAP?)

Input parameters

Name Type Default

paths

LIST? OF PATH?

null

lowerCaseRels

BOOLEAN?

true

config

MAP?

{}

Output parameters