diff --git a/docs-2.0/3.ngql-guide/8.clauses-and-options/return.md b/docs-2.0/3.ngql-guide/8.clauses-and-options/return.md index 22c617b04e9..21cc4deeda6 100644 --- a/docs-2.0/3.ngql-guide/8.clauses-and-options/return.md +++ b/docs-2.0/3.ngql-guide/8.clauses-and-options/return.md @@ -343,6 +343,13 @@ nebula> RETURN 1+1; | 2 | +-------+ +nebula> RETURN 1- -1; ++----------+ +| (1--(1)) | ++----------+ +| 2 | ++----------+ + nebula> RETURN 3 > 1; +-------+ | (3>1) | diff --git a/docs-2.0/3.ngql-guide/8.clauses-and-options/yield.md b/docs-2.0/3.ngql-guide/8.clauses-and-options/yield.md index 152a10c9a19..5cbe230858c 100644 --- a/docs-2.0/3.ngql-guide/8.clauses-and-options/yield.md +++ b/docs-2.0/3.ngql-guide/8.clauses-and-options/yield.md @@ -173,4 +173,12 @@ nebula> YIELD \ +--------+ | 1 | +--------+ + +nebula> YIELD 1- -1; ++----------+ +| (1--(1)) | ++----------+ +| 2 | ++----------+ + ```