apoc.map.fromNodes
Function APOC Core
apoc.map.fromNodes(label, property)
Usage Examples
The examples in this section are based on the following sample graph:
CREATE (TheMatrixRevolutions:Movie {title:'The Matrix Revolutions', released:2003, tagline:'Everything that has a beginning has an end'})
CREATE (YouveGotMail:Movie {title:"You've Got Mail", released:1998, tagline:'At odds in life... in love on-line.'})
CREATE (SleeplessInSeattle:Movie {title:'Sleepless in Seattle', released:1993, tagline:'What if someone you never met, someone you never saw, someone you never knew was the only someone for you?'});
RETURN apoc.map.fromNodes("Movie", "title");
Output |
---|
|