From c5cf21b54c9369a9843337be647eaac4767dc2f3 Mon Sep 17 00:00:00 2001 From: knqiufan <34114995+knqiufan@users.noreply.github.com> Date: Tue, 26 Dec 2023 00:19:33 +0800 Subject: [PATCH] add annotation to some examples of `arithmetic` clause as titled --- docs-2.0-zh/3.ngql-guide/5.operators/10.arithmetic.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs-2.0-zh/3.ngql-guide/5.operators/10.arithmetic.md b/docs-2.0-zh/3.ngql-guide/5.operators/10.arithmetic.md index 2d009426817..69a36cb11a6 100644 --- a/docs-2.0-zh/3.ngql-guide/5.operators/10.arithmetic.md +++ b/docs-2.0-zh/3.ngql-guide/5.operators/10.arithmetic.md @@ -14,6 +14,7 @@ ## 示例 ```ngql +# 返回 1+2 的结果。 nebula> RETURN 1+2 AS result; +--------+ | result | @@ -21,6 +22,7 @@ nebula> RETURN 1+2 AS result; | 3 | +--------+ +# 返回 -10+5 的结果。 nebula> RETURN -10+5 AS result; +--------+ | result | @@ -28,6 +30,7 @@ nebula> RETURN -10+5 AS result; | -5 | +--------+ +# 返回 (3*8)%5 的结果。 nebula> RETURN (3*8)%5 AS result; +--------+ | result |