Skip to content

Commit

Permalink
Update 2.update-edge.md
Browse files Browse the repository at this point in the history
  • Loading branch information
foesa-yang authored Nov 24, 2021
1 parent d587706 commit 4501c58
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 @@ -2,7 +2,7 @@

The `UPDATE EDGE` statement updates properties on an edge.

In Nebula Graph, `UPDATE EDGE` supports compare-and-set (CAS).
In Nebula Graph, `UPDATE EDGE` supports compare-and-swap (CAS).

## Syntax

Expand All @@ -15,7 +15,7 @@ SET <update_prop>
```

| Parameter | Required | Description | Example |
|---------------------+----------+----------------------------------------------------------------------------------------------------------------+----------------------------------|
|:---|:---|:---|:---|
| `ON <edge_type>` | Yes | Specifies the edge type. The properties to be updated must be on this edge type. | `ON serve` |
| `<src_vid>` | Yes | Specifies the source vertex ID of the edge. | `"player100"` |
| `<dst_vid>` | Yes | Specifies the destination vertex ID of the edge. | `"team204"` |
Expand Down

0 comments on commit 4501c58

Please sign in to comment.