Closed snap608 closed 8 years ago
Found an alternative way:
var nodes = cypherEndpoint
.BeginQuery(p => new { Movie = p.Node })
.Match(ctx => ctx.NodeLabelled(ctx.Vars.Movie, "Movie"))
.Return(ctx => new { Movie = ctx.Vars.Movie })
.Fetch();
Probably my noobness but this query should return only nodes labeled "Movie" right? It actually return all nodes in the database.
The code generates: MATCH (Movie) RETURN Movie as Movie, id(Movie) as MovieId, labels(Movie) as MovieLabels
But should generate: MATCH (Movie:Movie) RETURN Movie as Movie, id(Movie) as MovieId, labels(Movie) as MovieLabels
Am I missing something here in my code? :)