3 ms·
In Cypher I believe this is called 'map projection', e.g: MATCH (actor:Person { name: 'Charlie Sheen' })-[:ACTED_IN]->(movie:Movie) RETURN actor { .name, .
by laurencerowe 7y ago
In Cypher I believe this is called 'map projection', e.g:
MATCH (actor:Person { name: 'Charlie Sheen' })-[:ACTED_IN]->(movie:Movie)
RETURN actor { .name, .realName, movies: collect(movie { .title, .year })}
https://neo4j.com/docs/cypher-manual/current/syntax/maps/#cypher-map-projection https://neo4j.com/docs/cypher-manual/current/syntax/maps/#cy...