Created
September 27, 2021 19:19
-
-
Save bitner/3532b3c2c87362c94b0341baf5f71d92 to your computer and use it in GitHub Desktop.
neo4j-to-json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MATCH (n:DataProduct) WHERE id(n) = 6737 CALL apoc.path.expand(n, ">", "*", 1, 4) YIELD path WITH collect(path) as paths CALL apoc.convert.toTree(paths) yield value RETURN value |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment