Permalink
Browse files

added line to create val cypher before querying it

  • Loading branch information...
1 parent c809531 commit bca106c8e136a4cd1542380eb07f07d2add3c9c0 @akollegger committed Apr 9, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/main/g8/readme.md
View
@@ -60,6 +60,7 @@ Then use dispatch to work with the Neo4j graph...
h((node << ("{\"foo\" : \"bar\"}", "application/json")) >>> System.out)
// query with Cypher
+ val cypher = g / "cypher"
h((cypher << ("""{"query": "start n=node(0) return n"}""", "application/json")) >>> System.out)
Become a Hero(ku)

0 comments on commit bca106c

Please sign in to comment.