[typo](docs) add additional explanation to the repeat function (#32158)

This commit is contained in:
yagagagaga
2024-03-14 14:34:04 +08:00
committed by yiguolei
parent c919834df3
commit 7d3a485665
2 changed files with 14 additions and 0 deletions

View File

@ -33,6 +33,13 @@ under the License.
Repeat the str of the string count times, return empty string when count is less than 1, return NULL when str, count is any NULL
:::tip
It can be repeated up to 10000 times by default, you can adjust session variable to change it
```
set repeat_max_num = 20000
```
:::
### example
```

View File

@ -33,6 +33,13 @@ under the License.
将字符串 str 重复 count 次输出,count 小于1时返回空串,str,count 任一为NULL时,返回 NULL
:::tip
repeat 函数默认最多重复 10000 次,可通过会话变量调整限制。
```
set repeat_max_num = 20000
```
:::
### example
```