From c5fb4afdf86ba5575327d52ab783ce93df405164 Mon Sep 17 00:00:00 2001 From: cooper-lzy <78672629+cooper-lzy@users.noreply.github.com> Date: Fri, 18 Nov 2022 11:34:27 +0800 Subject: [PATCH] update ngql template --- docs-2.0/nebula-explorer/db-management/ngql-template.md | 4 +++- .../nebula-explorer/graph-explorer/ex-ug-query-exploration.md | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docs-2.0/nebula-explorer/db-management/ngql-template.md b/docs-2.0/nebula-explorer/db-management/ngql-template.md index 4c110a54481..738896acb28 100644 --- a/docs-2.0/nebula-explorer/db-management/ngql-template.md +++ b/docs-2.0/nebula-explorer/db-management/ngql-template.md @@ -40,4 +40,6 @@ At the top navigation bar, click ![Template](https://docs-cdn.nebula-graph.com.c ## Use template -In addition to clicking ![console](https://docs-cdn.nebula-graph.com.cn/figures/nav-console2.png) on the template list page to automatically jump to the console and enter the template, templates can also be used on the graph exploration page. For details, see [Start querying](../graph-explorer/ex-ug-query-exploration.md). \ No newline at end of file +- (Recommended) Use templates on the graph exploration page. For details, see [Start querying](../graph-explorer/ex-ug-query-exploration.md). + +- Click ![console](https://docs-cdn.nebula-graph.com.cn/figures/nav-console2.png) on the template list page to automatically jump to the console and enter the template. You need to modify the parameterized text. diff --git a/docs-2.0/nebula-explorer/graph-explorer/ex-ug-query-exploration.md b/docs-2.0/nebula-explorer/graph-explorer/ex-ug-query-exploration.md index 1c393804c69..25f2aa08bc1 100644 --- a/docs-2.0/nebula-explorer/graph-explorer/ex-ug-query-exploration.md +++ b/docs-2.0/nebula-explorer/graph-explorer/ex-ug-query-exploration.md @@ -61,6 +61,8 @@ The following is an example of VIDs `Kings` and `Suns`, step number `2`, and inc You can select the created nGQL template, and set the parameter value. +![query_template](https://docs-cdn.nebula-graph.com.cn/figures/query_template_221118_en.png) + - When the returned result is vertices, they will be displayed on the canvas. - When the returned result is not vertices, they will be displayed in table format. For example, return player name, age, etc.