Skip to content

Commit

Permalink
Update keywords-and-reserved-words.md (#1513)
Browse files Browse the repository at this point in the history
* Update keywords-and-reserved-words.md

* Update keywords-and-reserved-words.md
  • Loading branch information
cooper-lzy authored Mar 3, 2022
1 parent 4462a6c commit 8e45038
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# 关键字

关键字在 nGQL 中有重要意义,分为保留关键字和非保留关键字。
关键字在 nGQL 中有重要意义,分为保留关键字和非保留关键字。建议不要在 Schema 中使用关键字。

非保留关键字作为标识符时可以不使用引号。保留关键字或特殊字符作为标识符时,需要用反引号(\`)包围,例如 \`AND\`
如果必须使用关键字:

- 非保留关键字作为标识符时可以不使用引号。

- 保留关键字或特殊字符作为标识符时,需要用反引号(\`)包围,例如 \`AND\`

!!! Note

Expand Down

0 comments on commit 8e45038

Please sign in to comment.