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 580fd9d202f..adb726af0ba 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 @@ -341,6 +341,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 e463c0ee6a0..cfe7c9b32b8 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 @@ -178,4 +178,11 @@ nebula> YIELD \ +--------+ | 1 | +--------+ + +nebula> YIELD 1- -1; ++----------+ +| (1--(1)) | ++----------+ +| 2 | ++----------+ ```