Skip to content

Commit

Permalink
Update keywords-and-reserved-words.md
Browse files Browse the repository at this point in the history
  • Loading branch information
cooper-lzy committed Dec 9, 2021
1 parent ea0665c commit b5bf2a5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

关键字在 nGQL 中有重要意义,分为保留关键字和非保留关键字。

非保留关键字作为标识符时可以不使用引号。保留关键字作为标识符时,需要用反引号(\`将它们括起来,例如 \`AND\`
非保留关键字作为标识符时可以不使用引号。保留关键字作为标识符时,需要用反引号(\`包围,例如 \`AND\`

!!! Note

- 关键字不区分大小写。

- 中文字符也需要使用反引号(\`)将它们括起来
- 非英文(例如中文、韩文)字符也需要使用反引号(\`)包围

```ngql
nebula> CREATE TAG TAG(name string);
Expand Down

0 comments on commit b5bf2a5

Please sign in to comment.