Skip to content

Commit

Permalink
Fix butchered syntax.
Browse files Browse the repository at this point in the history
  • Loading branch information
rdvdijk committed Sep 26, 2012
1 parent 5e47636 commit d36d26d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,9 +228,9 @@ Usage:
@neo.remove_relationship_auto_index_property(property) # remove from auto indexed relationship properties

@neo.execute_script("g.v(0)") # sends a Groovy script (through the Gremlin plugin)
@neo.execute_script("g.v(id)", # sends a parameterized Groovy script (optimized for repeated calls)
@neo.execute_script("g.v(id)", {:id => 3}) # sends a parameterized Groovy script (optimized for repeated calls)
@neo.execute_query("start n=node(0) return n") # sends a Cypher query (through the Cypher plugin)
@neo.execute_query("start n=node( # sends a parameterized Cypher query (optimized for repeated calls)
@neo.execute_query("start n=node({id}) return n", {:id => 3}) # sends a parameterized Cypher query (optimized for repeated calls)

@neo.get_path(node1, node2, relationships, depth=4, algorithm="shortestPath") # finds the shortest path between two nodes
@neo.get_paths(node1, node2, relationships, depth=3, algorithm="allPaths") # finds all paths between two nodes
Expand Down

0 comments on commit d36d26d

Please sign in to comment.