Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 6.cheatsheet-for-ngql-command.md #2313

Merged
merged 1 commit into from
Nov 11, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs-2.0/2.quick-start/6.cheatsheet-for-ngql-command.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
| bit_and() | 逐位做 AND 操作。 |
| bit_or() | 逐位做 OR 操作。 |
| bit_xor() | 逐位做 XOR 操作。 |
| int size() | 返回列表或映射中元素的数量。 |
| int size() | 返回列表或映射中元素的数量,或字符串的长度。 |
| int range(int start, int end, int step) | 返回`[start,end]`中指定步长的值组成的列表。步长`step`默认为 1。 |
| int sign(double x) | 返回 x 的正负号。 如果 x 为`0`,则返回`0`。 如果 x 为负数,则返回`-1`。 如果 x 为正数,则返回`1`。 |
| double e() | 返回自然对数的底 e(2.718281828459045)。 |
Expand Down Expand Up @@ -61,7 +61,7 @@
| string toLower(string a) | 和`lower()`相同。 |
| string upper(string a) | 返回大写形式的字符串。 |
| string toUpper(string a) | 和`upper()`相同。 |
| int length(string a) | 以字节为单位,返回给定字符串的长度。 |
| int length(a) | 返回给定字符串的长度或路径的长度,单位分别是字节和跳数。 |
| string trim(string a) | 删除字符串头部和尾部的空格。 |
| string ltrim(string a) | 删除字符串头部的空格。 |
| string rtrim(string a) | 删除字符串尾部的空格。 |
Expand Down