diff --git a/docs-2.0/3.ngql-guide/1.nGQL-overview/comments.md b/docs-2.0/3.ngql-guide/1.nGQL-overview/comments.md index fcf8edf11f0..580303b76a2 100644 --- a/docs-2.0/3.ngql-guide/1.nGQL-overview/comments.md +++ b/docs-2.0/3.ngql-guide/1.nGQL-overview/comments.md @@ -2,10 +2,10 @@ This topic will describe the comments in nGQL. -## Legacy version compatibility +!!! compatibility "Legacy version compatibility" -* In Nebula Graph 1.x, there are four comment styles: `#`, `--`, `//`, `/* */`. -* Since Nebula Graph 2.x, `--` cannot be used as comments. + * In Nebula Graph 1.x, there are four comment styles: `#`, `--`, `//`, `/* */`. + * Since Nebula Graph 2.x, `--` cannot be used as comments. ## Examples diff --git a/docs-2.0/3.ngql-guide/1.nGQL-overview/identifier-case-sensitivity.md b/docs-2.0/3.ngql-guide/1.nGQL-overview/identifier-case-sensitivity.md index 298ead41d1c..aa39726fa5a 100644 --- a/docs-2.0/3.ngql-guide/1.nGQL-overview/identifier-case-sensitivity.md +++ b/docs-2.0/3.ngql-guide/1.nGQL-overview/identifier-case-sensitivity.md @@ -7,7 +7,7 @@ The following statements will not work because they refer to two different space ```ngql nebula> CREATE SPACE IF NOT EXISTS my_space (vid_type=FIXED_STRING(30)); nebula> use MY_SPACE; -[ERROR (-8)]: SpaceNotFound: +[ERROR (-1005)]: SpaceNotFound: ``` ## Keywords and Reserved Words are Case-Insensitive diff --git a/docs-2.0/3.ngql-guide/1.nGQL-overview/keywords-and-reserved-words.md b/docs-2.0/3.ngql-guide/1.nGQL-overview/keywords-and-reserved-words.md index 0497824671e..7c82add3a0e 100644 --- a/docs-2.0/3.ngql-guide/1.nGQL-overview/keywords-and-reserved-words.md +++ b/docs-2.0/3.ngql-guide/1.nGQL-overview/keywords-and-reserved-words.md @@ -14,7 +14,7 @@ If you must use keywords in schema: ```ngql nebula> CREATE TAG TAG(name string); -[ERROR (-7)]: SyntaxError: syntax error near `TAG' +[ERROR (-1004)]: SyntaxError: syntax error near `TAG' nebula> CREATE TAG `TAG` (name string); Execution succeeded