Skip to content

Commit

Permalink
Update 3.upsert-vertex.md (#2583)
Browse files Browse the repository at this point in the history
  • Loading branch information
foesa-yang authored Feb 22, 2023
1 parent 391276a commit 7643521
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs-2.0/3.ngql-guide/12.vertex-statements/3.upsert-vertex.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

`UPSERT VERTEX`性能远低于`INSERT`,因为`UPSERT`是一组分片级别的读取、修改、写入操作。

!!! danger
!!! caution

禁止在高并发写操作的情况下使用`UPSERT`语句,请使用`UPDATE`或`INSERT`代替
并发`UPSERT`同一个 TAG 或 EDGE TYPE 会报错

## 语法

Expand Down Expand Up @@ -161,4 +161,4 @@ nebula> UPSERT VERTEX ON player "player101" \
+---------------+-----+
| "Tony Parker" | 38 |
+---------------+-----+
```
```

0 comments on commit 7643521

Please sign in to comment.