From 4c80c6b15d59237c223b5e710e615cbee2e34cd6 Mon Sep 17 00:00:00 2001 From: cooper-lzy <78672629+cooper-lzy@users.noreply.github.com> Date: Fri, 25 Jun 2021 17:04:01 +0800 Subject: [PATCH 1/3] update --- docs-2.0/1.introduction/2.1.path.md | 4 ++-- docs-2.0/20.appendix/write-tools.md | 2 +- .../12.vertex-statements/1.insert-vertex.md | 3 ++- .../13.edge-statements/1.insert-edge.md | 3 ++- {images => docs-2.0/images}/Circuits1.png | Bin {images => docs-2.0/images}/path1.png | Bin {images => docs-2.0/images}/write-choice.png | Bin 7 files changed, 7 insertions(+), 5 deletions(-) rename {images => docs-2.0/images}/Circuits1.png (100%) rename {images => docs-2.0/images}/path1.png (100%) rename {images => docs-2.0/images}/write-choice.png (100%) diff --git a/docs-2.0/1.introduction/2.1.path.md b/docs-2.0/1.introduction/2.1.path.md index 188d690c1f2..85629136be2 100644 --- a/docs-2.0/1.introduction/2.1.path.md +++ b/docs-2.0/1.introduction/2.1.path.md @@ -6,7 +6,7 @@ 本文以下图为例进行简单介绍。 -![路径示例](../../images/path1.png) +![路径示例](../images/path1.png) ## walk @@ -30,7 +30,7 @@ 在trail类型中,还有 `cycle` 和 `circuit` 两种特殊的路径类型,以下图为例对这两种特殊的路径类型进行介绍。 -![trail示例](../../images/Circuits1.png) +![trail示例](../images/Circuits1.png) - cycle diff --git a/docs-2.0/20.appendix/write-tools.md b/docs-2.0/20.appendix/write-tools.md index a73755bd746..a7cf42c9c99 100644 --- a/docs-2.0/20.appendix/write-tools.md +++ b/docs-2.0/20.appendix/write-tools.md @@ -11,5 +11,5 @@ 下图给出了几种方式的定位: - ![image](../../images/write-choice.png) + ![image](../images/write-choice.png) diff --git a/docs-2.0/3.ngql-guide/12.vertex-statements/1.insert-vertex.md b/docs-2.0/3.ngql-guide/12.vertex-statements/1.insert-vertex.md index 6d8871fc3cc..68f873d93d5 100644 --- a/docs-2.0/3.ngql-guide/12.vertex-statements/1.insert-vertex.md +++ b/docs-2.0/3.ngql-guide/12.vertex-statements/1.insert-vertex.md @@ -23,7 +23,8 @@ prop_value_list: !!! Note - 仅检测VID+Tag的值是否相同,不会检测属性值。 + - `IF NOT EXISTS`仅检测VID+Tag的值是否相同,不会检测属性值。 + - `IF NOT EXISTS`会检测数据,对性能有影响。 - `tag_name`:点关联的Tag(点类型)。Tag必须提前创建,详情请参见[CREATE TAG](../10.tag-statements/1.create-tag.md)。 diff --git a/docs-2.0/3.ngql-guide/13.edge-statements/1.insert-edge.md b/docs-2.0/3.ngql-guide/13.edge-statements/1.insert-edge.md index 2ac6c4ad655..06df8d8e8d2 100644 --- a/docs-2.0/3.ngql-guide/13.edge-statements/1.insert-edge.md +++ b/docs-2.0/3.ngql-guide/13.edge-statements/1.insert-edge.md @@ -22,7 +22,8 @@ INSERT EDGE [IF NOT EXISTS] ( ) {VALUES | VALUE} !!! Note - 仅检测边的类型、起始点、目的点和rank,不会检测属性值。 + - `IF NOT EXISTS`仅检测边的类型、起始点、目的点和rank,不会检测属性值。 + - `IF NOT EXISTS`会检测数据,对性能有影响。 - ``:边关联的Edge type,只能指定一个Edge type。Edge type必须提前创建,详情请参见[CREATE EDGE](../11.edge-type-statements/1.create-edge.md)。 diff --git a/images/Circuits1.png b/docs-2.0/images/Circuits1.png similarity index 100% rename from images/Circuits1.png rename to docs-2.0/images/Circuits1.png diff --git a/images/path1.png b/docs-2.0/images/path1.png similarity index 100% rename from images/path1.png rename to docs-2.0/images/path1.png diff --git a/images/write-choice.png b/docs-2.0/images/write-choice.png similarity index 100% rename from images/write-choice.png rename to docs-2.0/images/write-choice.png From 83ff02e6320933d45c9456d6642fe1d26e87a0eb Mon Sep 17 00:00:00 2001 From: "min.wu" <50101159+whitewum@users.noreply.github.com> Date: Fri, 25 Jun 2021 17:06:19 +0800 Subject: [PATCH 2/3] Update 1.insert-vertex.md --- docs-2.0/3.ngql-guide/12.vertex-statements/1.insert-vertex.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs-2.0/3.ngql-guide/12.vertex-statements/1.insert-vertex.md b/docs-2.0/3.ngql-guide/12.vertex-statements/1.insert-vertex.md index 68f873d93d5..cf3e5940b45 100644 --- a/docs-2.0/3.ngql-guide/12.vertex-statements/1.insert-vertex.md +++ b/docs-2.0/3.ngql-guide/12.vertex-statements/1.insert-vertex.md @@ -23,8 +23,8 @@ prop_value_list: !!! Note - - `IF NOT EXISTS`仅检测VID+Tag的值是否相同,不会检测属性值。 - - `IF NOT EXISTS`会检测数据,对性能有影响。 + - `IF NOT EXISTS` 仅检测 VID + Tag 的值是否相同,不会检测属性值。 + - `IF NOT EXISTS` 会先读取一次数据是否存在,因此对性能会有明显影响。 - `tag_name`:点关联的Tag(点类型)。Tag必须提前创建,详情请参见[CREATE TAG](../10.tag-statements/1.create-tag.md)。 From 8ea012dc334e961f5fef94da829c3c171fa2e246 Mon Sep 17 00:00:00 2001 From: "min.wu" <50101159+whitewum@users.noreply.github.com> Date: Fri, 25 Jun 2021 17:07:11 +0800 Subject: [PATCH 3/3] Update 1.insert-edge.md --- docs-2.0/3.ngql-guide/13.edge-statements/1.insert-edge.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs-2.0/3.ngql-guide/13.edge-statements/1.insert-edge.md b/docs-2.0/3.ngql-guide/13.edge-statements/1.insert-edge.md index 06df8d8e8d2..58acd146710 100644 --- a/docs-2.0/3.ngql-guide/13.edge-statements/1.insert-edge.md +++ b/docs-2.0/3.ngql-guide/13.edge-statements/1.insert-edge.md @@ -22,8 +22,8 @@ INSERT EDGE [IF NOT EXISTS] ( ) {VALUES | VALUE} !!! Note - - `IF NOT EXISTS`仅检测边的类型、起始点、目的点和rank,不会检测属性值。 - - `IF NOT EXISTS`会检测数据,对性能有影响。 + - `IF NOT EXISTS` 仅检测<边的类型、起始点、目的点和rank>是否存在,不会检测属性值是否重合。 + - `IF NOT EXISTS` 会先读取一次数据是否存在,因此对性能会有明显影响。 - ``:边关联的Edge type,只能指定一个Edge type。Edge type必须提前创建,详情请参见[CREATE EDGE](../11.edge-type-statements/1.create-edge.md)。