You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 3, 2021. It is now read-only.
{
Movie(title: "Kill Bill: Vol. 1") {
title
genres {
name
}
similar(first:3) {
title
genres {
name
}
}
}
}
results in this Cypher query
MATCH (movie:Movie {title:"Kill Bill: Vol. 1"})
RETURN movie { .title ,
genres: [(movie)-[:IN_GENRE]->(movie_genres:Genre) | movie_genres { .name }] ,
similar: [ x IN apoc.cypher.runFirstColumn("WITH {this} AS this MATCH (this)--(:Genre)--(o:Movie) RETURN o LIMIT 5", {this: movie}, false) | x
{
.title ,
genres: [(movie_similar)-[:IN_GENRE]->(movie_similar_genres:Genre) | movie_similar_genres { .name }] }][..3]
} AS movie SKIP 0
Originally reported in this Launchpad
The query
results in this Cypher query
and returns duplicate genre names:
The text was updated successfully, but these errors were encountered: