Skip to content

Commit

Permalink
Update Cypher.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mingxiw authored Jan 17, 2025
1 parent eed3da1 commit e819f23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions demos/guru_scripts/docker/tutorial/4.x/Cypher.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,8 @@ CREATE OR REPLACE OPENCYPHER QUERY c3(string acctName) {
// In cypher, we use $param to denote the binding literal
// {name: $acctName} is a JSON style filter. It's equivalent to "a.name = $acctName".
// ":transfer" is the label of the edge type "transfer". "e" is the alias of the matched edge.
MATCH (a:Account {name: $acctName})-[e:transfer]->(b:Account)
RETURN b, sum(e.amount)
MATCH (a:Account {name: $accntName})-[e:transfer]->(b:Account)
RETURN b, sum(e.amount) AS totalTransfer

}

Expand Down

0 comments on commit e819f23

Please sign in to comment.