Skip to content

Commit

Permalink
update ngql template (#2329)
Browse files Browse the repository at this point in the history
  • Loading branch information
cooper-lzy authored Nov 18, 2022
1 parent 26747a1 commit 3eb6460
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs-2.0/nebula-explorer/db-management/ngql-template.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,6 @@ NebulaGraph 数据库里已经创建 Schema。

## 使用模板

除了在模板列表页面单击 ![console](https://docs-cdn.nebula-graph.com.cn/figures/nav-console2.png) 自动跳转至控制台并输入模板,还支持在图探索页面使用模板。详情参见[开始探索](../graph-explorer/ex-ug-query-exploration.md)
- (推荐)在图探索页面使用模板。详情参见[开始探索](../graph-explorer/ex-ug-query-exploration.md)

- 在模板列表页面单击 ![console](https://docs-cdn.nebula-graph.com.cn/figures/nav-console2.png) 自动跳转至控制台并输入模板语句,需要自行修改参数化的文本。
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@

用户可以选择已创建的查询语句模板,并填写模板参数值。

![query_template](https://docs-cdn.nebula-graph.com.cn/figures/query_template_221118_cn.png)

- 返回结果为点时,画布上会展示这些点。
- 返回结果不为点时,会用表格形式展示结果。例如返回球员姓名、年龄等。

Expand Down

0 comments on commit 3eb6460

Please sign in to comment.