From 4ca70395e22fd07982cdbb01704e4ee8cacf179b Mon Sep 17 00:00:00 2001 From: cooper-lzy <78672629+cooper-lzy@users.noreply.github.com> Date: Wed, 9 Mar 2022 14:16:29 +0800 Subject: [PATCH 1/2] Update 6.kill-query.md --- .../18.operation-and-maintenance-statements/6.kill-query.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs-2.0/3.ngql-guide/18.operation-and-maintenance-statements/6.kill-query.md b/docs-2.0/3.ngql-guide/18.operation-and-maintenance-statements/6.kill-query.md index 3238d747e3b..b1850da28da 100644 --- a/docs-2.0/3.ngql-guide/18.operation-and-maintenance-statements/6.kill-query.md +++ b/docs-2.0/3.ngql-guide/18.operation-and-maintenance-statements/6.kill-query.md @@ -2,6 +2,10 @@ `KILL QUERY` can terminate the query being executed, and is often used to terminate slow queries. +!!! note + + Users with the God role can kill all queries and users with other roles only can kill their own queries. + ## Syntax ```ngql From 2f395add8af4b5f90ff1eb87597aed4dd259cdf6 Mon Sep 17 00:00:00 2001 From: "abby.huang" <78209557+abby-cyber@users.noreply.github.com> Date: Thu, 10 Mar 2022 10:09:08 +0800 Subject: [PATCH 2/2] Update docs-2.0/3.ngql-guide/18.operation-and-maintenance-statements/6.kill-query.md --- .../18.operation-and-maintenance-statements/6.kill-query.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs-2.0/3.ngql-guide/18.operation-and-maintenance-statements/6.kill-query.md b/docs-2.0/3.ngql-guide/18.operation-and-maintenance-statements/6.kill-query.md index b1850da28da..8611fc99919 100644 --- a/docs-2.0/3.ngql-guide/18.operation-and-maintenance-statements/6.kill-query.md +++ b/docs-2.0/3.ngql-guide/18.operation-and-maintenance-statements/6.kill-query.md @@ -4,7 +4,7 @@ !!! note - Users with the God role can kill all queries and users with other roles only can kill their own queries. + Users with the God role can kill any query. Other roles can only kill their own queries. ## Syntax