Skip to content

Commit

Permalink
fix details (#929)
Browse files Browse the repository at this point in the history
  • Loading branch information
izhuxiaoqing authored Nov 19, 2021
1 parent ee632e3 commit 37f7836
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docs-2.0/2.quick-start/6.cheatsheet-for-ngql.md
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@
| [SHOW CHARSET](../3.ngql-guide/7.general-query-statements/6.show/1.show-charset.md) | `SHOW CHARSET` | `SHOW CHARSET` | Shows the available character sets. |
| [SHOW COLLATION](../3.ngql-guide/7.general-query-statements/6.show/2.show-collation.md) | `SHOW COLLATION` | `SHOW COLLATION` | Shows the collations supported by Nebula Graph. |
| [SHOW CREATE SPACE](../3.ngql-guide/7.general-query-statements/6.show/4.show-create-space.md) | `SHOW CREATE SPACE <space_name>` | `SHOW CREATE SPACE basketballplayer` | Shows the creating statement of the specified graph space. |
| [SHOW CREATE TAG/EDGE](../3.ngql-guide/7.general-query-statements/6.show/5.show-create-tags-edges.md) | `SHOW CREATE {TAG <tag_name> | EDGE <edge_name>}` | `SHOW CREATE TAG player` | Shows the basic information of the specified tag. |
| [SHOW CREATE TAG/EDGE](../3.ngql-guide/7.general-query-statements/6.show/5.show-create-tag-edge.md) | `SHOW CREATE {TAG <tag_name> | EDGE <edge_name>}` | `SHOW CREATE TAG player` | Shows the basic information of the specified tag. |
| [SHOW HOSTS](../3.ngql-guide/7.general-query-statements/6.show/6.show-hosts.md) | `SHOW HOSTS [GRAPH | STORAGE | META]` | `SHOW HOSTS`<br>`SHOW HOSTS GRAPH` | Shows the host and version information of Graph Service, Storage Service, and Meta Service. |
| [SHOW INDEX STATUS](../3.ngql-guide/7.general-query-statements/6.show/7.show-index-status.md) | `SHOW {TAG | EDGE} INDEX STATUS` | `SHOW TAG INDEX STATUS` | Shows the status of jobs that rebuild native indexes, which helps check whether a native index is successfully rebuilt or not. |
| [SHOW INDEXES](../3.ngql-guide/7.general-query-statements/6.show/8.show-indexes.md) | `SHOW {TAG | EDGE} INDEXES` | `SHOW TAG INDEXES` | Shows the names of existing native indexes. |
Expand Down
6 changes: 3 additions & 3 deletions docs-2.0/3.ngql-guide/9.space-statements/1.create-space.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ CREATE SPACE [IF NOT EXISTS] <graph_space_name> (
CREATE SPACE <new_graph_space_name> AS <old_graph_space_name>;
```

| Parameter | Description |
| :--- | :--- |
| Parameter | Description |
| :--- | :--- |
| `<new_graph_space_name>` | The name of the graph space that is newly created. The name of the graph space is case-sensitive and allows letters, numbers, or underlines. [Keywords and reserved words](../../3.ngql-guide/1.nGQL-overview/keywords-and-reserved-words.md) are not allowed. When a new graph space is created, the schema of the old graph space `<old_graph_space_name>` will be cloned, including its parameters (the number of partitions and replicas, etc.), Tag, Edge type, and native indexes. |
| `<old_graph_space_name>` | The name of the graph space that already exists. |
| `<old_graph_space_name>` | The name of the graph space that already exists. |

## Examples

Expand Down
3 changes: 0 additions & 3 deletions docs-2.0/3.ngql-guide/9.space-statements/2.use-space.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ nebula> CREATE SPACE IF NOT EXISTS space2 (vid_type=FIXED_STRING(30));
# The following example specifies space1 as the current working graph space.
nebula> USE space1;
# The following example traverses in space1.
nebula> GO FROM 1 OVER edge1;
# The following example specifies space2 as the current working graph space. Hereafter, you cannot read any data from space1, because these vertices and edges being traversed have no relevance with space1.
nebula> USE space2;
```
Expand Down
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ nav:
- SHOW COLLATION: 3.ngql-guide/7.general-query-statements/6.show/2.show-collation.md
# - SHOW CONFIGS: 3.ngql-guide/7.general-query-statements/6.show/3.show-configs.md
- SHOW CREATE SPACE: 3.ngql-guide/7.general-query-statements/6.show/4.show-create-space.md
- SHOW CREATE TAGS/EDGES: 3.ngql-guide/7.general-query-statements/6.show/5.show-create-tags-edges.md
- SHOW CREATE TAG/EDGE: 3.ngql-guide/7.general-query-statements/6.show/5.show-create-tag-edge.md
- SHOW HOSTS: 3.ngql-guide/7.general-query-statements/6.show/6.show-hosts.md
- SHOW INDEX STATUS: 3.ngql-guide/7.general-query-statements/6.show/7.show-index-status.md
- SHOW INDEXES: 3.ngql-guide/7.general-query-statements/6.show/8.show-indexes.md
Expand Down

0 comments on commit 37f7836

Please sign in to comment.