Skip to content

Commit

Permalink
Inlined a bunch of WHEREs
Browse files Browse the repository at this point in the history
  • Loading branch information
jimwebber committed Sep 9, 2014
1 parent 4cb57e2 commit ac7009b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/koan/java/org/neo4j/tutorial/Koan11.java
Expand Up @@ -39,9 +39,7 @@ public void shouldFindLengthOfTheShortestPathBetweenSarahJaneSmithAndSkaro() thr
// YOUR CODE GOES HERE
// SNIPPET_START

cql = "MATCH path = shortestPath( (sarahJaneSmith:Character)-[*..50]-(skaro:Planet) )" +
"WHERE sarahJaneSmith.character = 'Sarah Jane Smith' " +
"AND skaro.planet = 'Skaro'" +
cql = "MATCH path = shortestPath( (sarahJaneSmith:Character {character:'Sarah Jane Smith'})-[*..50]-(skaro:Planet {planet: 'Skaro'}) )" +
"RETURN length(path) as length";

// SNIPPET_END
Expand Down

0 comments on commit ac7009b

Please sign in to comment.