Skip to content

Commit

Permalink
Minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
randomJoe211 committed Oct 27, 2020
1 parent cba945c commit 10de5c5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs_2.0/manual_EN/3.quick-start/4.nebua-graph-crud.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,8 @@ You can use the `INSERT` statement to insert vertices or edges based on existing
* Insert vertices:

```nGQL
INSERT VERTEX <tag> (<property_name>[, <property_name>...])
[, <tag> (<property_name>[, <property_name>...]), ...]
INSERT VERTEX <tag_name> (<property_name>[, <property_name>...])
[, <tag_name> (<property_name>[, <property_name>...]), ...]
{VALUES | VALUE} <vid>: (<property_value>[, <property_value>...])
[, <vid>: (<property_value>[, <property_value>...];
```
Expand All @@ -178,7 +178,7 @@ You can use the `INSERT` statement to insert vertices or edges based on existing
* Insert edges:
```nGQL
INSERT EDGE <edge type> (<property_name>[, <property_name>...])
INSERT EDGE <edge_type> (<property_name>[, <property_name>...])
{VALUES | VALUE} <src_vid> -> <dst_vid>[@<rank>] : (<property_value>[, <property_value>...])
[, <src_vid> -> <dst_vid>[@<rank> : (<property_name>[, <property_name>...]), ...]
```
Expand Down Expand Up @@ -272,7 +272,7 @@ You can use the statements [GO](TODO) [TODO], [FETCH](TODO) [TODO], and [LOOKUP]
* `LOOKUP`
```nGQL
LOOKUP ON {<tag> | <edge_type>} WHERE <expression> [AND expression ...])]
LOOKUP ON {<tag_name> | <edge_type>} WHERE <expression> [AND expression ...])]
[YIELD <return_list>]
```
Expand Down Expand Up @@ -385,14 +385,14 @@ UPDATE VERTEX <vid> SET <properties to be updated>
* `UPDATE` edges:

```nGQL
UPDATE EDGE <source vid> -> <destination vid> [@rank] OF <edge type>
UPDATE EDGE <source vid> -> <destination vid> [@rank] OF <edge_type>
SET <properties to be updated> [WHEN <condition>] [YIELD <columns to be output>]
```

* `UPSERT` vertices or edges:

```nGQL
UPSERT {VERTEX <vid> | EDGE <edge type>} SET <update_columns>
UPSERT {VERTEX <vid> | EDGE <edge_type>} SET <update_columns>
[WHEN <condition>] [YIELD <columns>]
```

Expand Down

0 comments on commit 10de5c5

Please sign in to comment.