Skip to content

Commit

Permalink
Update 2.update-edge.md (#948)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbacyj committed Sep 13, 2021
1 parent 53aa34b commit 2bddf44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs-2.0/3.ngql-guide/13.edge-statements/2.update-edge.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ nebula> GO FROM "player100" \
// 修改属性start_year的值,并返回end_year和新的start_year。
nebula> UPDATE EDGE on serve "player100" -> "team204"@0 \
nebula> UPDATE EDGE ON serve "player100" -> "team204"@0 \
SET start_year = start_year + 1 \
WHEN end_year > 2010 \
YIELD start_year, end_year;
Expand All @@ -48,4 +48,4 @@ nebula> UPDATE EDGE on serve "player100" -> "team204"@0 \
+------------+----------+
| 1998 | 2016 |
+------------+----------+
```
```

0 comments on commit 2bddf44

Please sign in to comment.