From b097779acda2fd55f2bc774a6d5bd6a0afdcbaf3 Mon Sep 17 00:00:00 2001 From: Abby <78209557+abby-cyber@users.noreply.github.com> Date: Mon, 27 Mar 2023 16:36:36 +0800 Subject: [PATCH] Remove-glr-parser --- docs-2.0/3.ngql-guide/8.clauses-and-options/return.md | 7 +++++++ docs-2.0/3.ngql-guide/8.clauses-and-options/yield.md | 7 +++++++ 2 files changed, 14 insertions(+) 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 | ++----------+ ```