You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to remove the "born" in the toTree result, but when there is more than one label like Person:AnotherLabel, this does not work, and the result continues with "born" prop.
MATCH path = (root)-[:SON*0..]->(p:Person)
WITH COLLECT(path) AS paths
CALL apoc.convert.toTree(paths, true, { nodes: { Person: ['-born'] } }) YIELD value
RETURN value AS people
I need to remove the "born" in the toTree result, but when there is more than one label like Person:AnotherLabel, this does not work, and the result continues with "born" prop.
apoc.convert.toTree documentation
Expected Behavior
Return without "born" prop in the result.
Actual Behavior
Return the "born" prop in the result.
How to Reproduce the Problem
Versions
The text was updated successfully, but these errors were encountered: