Skip to content Skip to sidebar Skip to footer

Correct Way To Create Json From Neo4j Rest Api

I want to create the following json 'model':[ { '_id': 123, 'innerMode1': [ { '_id': 233, '_type': 'somtype2',

Solution 1:

You can use collect + map and collection syntax to create something like you describe in a single cypher statement, you'd start at the lowest level and then work your way upwards aggregating along your paths.

Unfortunately I was not able to follow your explanation.

Here is a link to a article that explains it in detail:

http://gist.neo4j.org/?9269173

Post a Comment for "Correct Way To Create Json From Neo4j Rest Api"