Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update ngql template #2329

Merged
merged 1 commit into from
Nov 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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