Created
April 8, 2022 14:16
-
-
Save danstarns/5b1e0cd331b9b5781cd9cc8c8fe61cf4 to your computer and use it in GitHub Desktop.
read-movies-cypher
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 (m:Movie {title: "Forrest Gump"}) | |
MATCH (m)<-[:ACTED_IN]-(actors:Person) | |
MATCH (m)-[:IN_GENRE]->(genres:Genre) | |
RETURN m {.title, actors: collect(actors), genres: collect(genres)} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment