Skip to content

Commit

Permalink
Update 13.concat.md
Browse files Browse the repository at this point in the history
  • Loading branch information
foesa-yang authored Sep 14, 2021
1 parent 59c4926 commit 08ac1e0
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
## concat()函数

`concat()`函数至少需要两个或以上字符串参数,并将所有参数连接成一个字符串。

- 如果字符串参数只有一个,则返回该字符串参数本身。

- 如果任何一个的字符串参数为 `NULL`,则 `concat()` 函数返回值为`NULL`

### 语法
Expand Down Expand Up @@ -50,8 +52,11 @@ nebula> GO FROM "player100" over follow \
## concat_ws()函数

`concat_ws()`函数将两个或以上字符串参数与预定义的分隔符(separator)相连接。

- 如果分隔符为`NULL`时,`concat_ws()`函数才返回`NULL`

- 如果分隔符不为`NULL`,字符串参数只有一个,则返回该字符串参数本身。

- 字符串参数存在`NULL`值时,忽略`NULL`值,继续连接下一个参数。

### 语法
Expand Down

0 comments on commit 08ac1e0

Please sign in to comment.