Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
AmberMoe committed May 8, 2020
1 parent 537b6a4 commit 363a50c
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions docs/manual-CN/1.overview/2.quick-start/1.get-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ nebula> INSERT EDGE serve(start_year, end_year) VALUES 101 -> 201:(1999, 2018);
**同样的**:如果您想一次批量插入多条同类型的边,可以执行以下语句:

```ngql
INSERT EDGE follow(degree) VALUES 100 -> 101:(95), 100 -> 102:(90), 102 -> 101:(75);
nebula> INSERT EDGE follow(degree) VALUES 100 -> 101:(95), 100 -> 102:(90), 102 -> 101:(75);
```

### 读取数据
Expand Down Expand Up @@ -383,6 +383,8 @@ nebula> UPSERT VERTEX 111 SET player.name = "Dwight Howard", player.age = $^.pla
-----------------------
```

详情查看 [UPSERT 文档](../../2.query-language/4.statement-syntax/2.data-query-and-manipulation-statements/upsert-syntax.md)

### 删除数据

#### 删除点
Expand Down Expand Up @@ -495,9 +497,11 @@ nebula> GO FROM 100 OVER follow WHERE $$.player.age >= 35 \

**这里**

- `$^` 表示边的起始点。
- `|` 表示管道。
- `$-` 表示输入流。上一个查询的输出`(id)`作为下一个查询的输入`($-.id)`
`$^` 表示边的起始点。

`|` 表示管道。

`$-` 表示输入流。上一个查询的输出`(id)`作为下一个查询的输入`($-.id)`

2. 使用`自定义的变量`来组合两个查询语句

Expand Down

0 comments on commit 363a50c

Please sign in to comment.