Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 4.nebula-graph-crud.md #2147

Merged
merged 1 commit into from
Sep 23, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs-2.0/2.quick-start/4.nebula-graph-crud.md
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ nebula> FETCH PROP ON player "player100" YIELD properties(vertex);
- `UPDATE`边

```ngql
UPDATE EDGE <source vid> -> <destination vid> [@rank] OF <edge_type>
UPDATE EDGE ON <edge_type> <source vid> -> <destination vid> [@rank]
SET <properties to be updated> [WHEN <condition>] [YIELD <columns to be output>];
```

Expand Down Expand Up @@ -427,7 +427,7 @@ nebula> FETCH PROP ON player "player100" YIELD properties(vertex);
- 用`UPDATE`修改某条边的`degree`属性,然后用`FETCH`检查结果。

```ngql
nebula> UPDATE EDGE "player101" -> "player100" OF follow SET degree = 96;
nebula> UPDATE EDGE ON follow "player101" -> "player100" SET degree = 96;

nebula> FETCH PROP ON follow "player101" -> "player100" YIELD properties(edge);
+------------------+
Expand Down