Skip to content

Commit

Permalink
Update 1.insert-edge.md (#1740)
Browse files Browse the repository at this point in the history
  • Loading branch information
foesa-yang authored Apr 28, 2022
1 parent 337fed6 commit 61688e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs-2.0/3.ngql-guide/13.edge-statements/1.insert-edge.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ INSERT EDGE [IF NOT EXISTS] <edge_type> ( <prop_name_list> ) VALUES
- `IF NOT EXISTS`:用户可以使用`IF NOT EXISTS`关键字检测待插入的边是否存在,只有不存在时,才会插入。

!!! Note

- `IF NOT EXISTS` 仅检测<边的类型、起始点、目的点和 rank>是否存在,不会检测属性值是否重合。

- `IF NOT EXISTS` 会先读取一次数据是否存在,因此对性能会有明显影响。

- `<edge_type>`:边关联的 Edge type,只能指定一个 Edge type。Edge type 必须提前创建,详情请参见 [CREATE EDGE](../11.edge-type-statements/1.create-edge.md)
Expand Down

0 comments on commit 61688e1

Please sign in to comment.