Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mingxiw authored Jan 22, 2025
1 parent 6925209 commit 13e4486
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions demos/guru_scripts/docker/tutorial/4.x/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1022,7 +1022,7 @@ CREATE OR REPLACE QUERY ForeachTest ( ) SYNTAX V3 {

#FOREACH item in collection accumlators variables
S = SELECT tgt
FROM (s:Account) -[e:Transfer]-> (tgt)
FROM (s:Account) -[e:transfer]-> (tgt)
ACCUM
@@listVar += e.amount,
@@setVar += e.amount,
Expand Down Expand Up @@ -1348,7 +1348,7 @@ CREATE OR REPLACE QUERY BatchCount (INT batch_num) SYNTAX v3 {

// 1000 is how many batch you will have. You can adjust the batch number to balance performance and memory usage
tmp = SELECT a1
FROM (a1:batch1)-[:transfer]->(b1:Account)-[:transfer]->(a2:Account)-[:Transfer]->(b2:batch1)
FROM (a1:batch1)-[:transfer]->(b1:Account)-[:transfer]->(a2:Account)-[:transfer]->(b2:batch1)
WHERE a1.name != a2.name AND b1.name != b2.name
ACCUM @@count +=1;

Expand Down

0 comments on commit 13e4486

Please sign in to comment.