Skip to content
Closed
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---

Check warning on line 1 in i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/sql-manual/sql-functions/scalar-functions/string-functions/ends-with.md

View workflow job for this annotation

GitHub Actions / Build Check

seo-description-length

SEO description should be 80-160 characters; current length is 29. Owner%3A @zclllyybb
{
"title": "ENDS_WITH",
"language": "zh-CN",
Expand Down Expand Up @@ -97,7 +97,7 @@
+---------------------------+------------------------------+
| ENDS_WITH('test', 'test') | ENDS_WITH('testing', 'test') |
+---------------------------+------------------------------+
| 1 | 1 |
| 1 | 0 |
+---------------------------+------------------------------+
```

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---

Check warning on line 1 in i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/sql-manual/sql-functions/scalar-functions/string-functions/mask-last-n.md

View workflow job for this annotation

GitHub Actions / Build Check

seo-description-length

SEO description should be 80-160 characters; current length is 69. Owner%3A @zclllyybb
{
"title": "MASK_LAST_N",
"language": "zh-CN",
Expand All @@ -25,11 +25,11 @@

## 返回值

返回 VARCHAR 类型,为后 N 个字节被脱敏后的字符串。

Check warning on line 28 in i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/sql-manual/sql-functions/scalar-functions/string-functions/mask-last-n.md

View workflow job for this annotation

GitHub Actions / Build Check

markdown-cjk-spacing

Chinese text should contain spaces around adjacent English words or numbers. Owner%3A @zclllyybb

特殊情况:

- 如果任意参数为 NULL,返回 NULL

Check warning on line 32 in i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/sql-manual/sql-functions/scalar-functions/string-functions/mask-last-n.md

View workflow job for this annotation

GitHub Actions / Build Check

markdown-cjk-spacing

Chinese text should contain spaces around adjacent English words or numbers. Owner%3A @zclllyybb
- 非字母和数字字符保持不变
- 如果 `<n>` 大于字符串长度,脱敏整个字符串
- 仅支持ASCII字母的替换,非ASCII字母(如带重音的拉丁字母)会原样保留
Expand Down Expand Up @@ -119,7 +119,7 @@
```

```text
+-------------------------------------+

Check warning on line 122 in i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/sql-manual/sql-functions/scalar-functions/string-functions/mask-last-n.md

View workflow job for this annotation

GitHub Actions / Build Check

markdown-cjk-spacing

Chinese text should contain spaces around adjacent English words or numbers. Owner%3A @zclllyybb
| mask_last_n('user@example.com', 11) |
+-------------------------------------+
| user@xxxxxxx.xxx |
Expand Down Expand Up @@ -161,11 +161,11 @@
```

```text
+--------------------------------+
| mask_last_n('Hello你好123', 9) |
+--------------------------------+
| Hello你好nnn |
+--------------------------------+
+----------------------------------+
| mask_last_n('Helloṭṛ123', 9) |
+----------------------------------+
| Helloṭṛnnn |
+----------------------------------+
```

```sql
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---

Check warning on line 1 in i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/sql-manual/sql-functions/scalar-functions/string-functions/mask.md

View workflow job for this annotation

GitHub Actions / Build Check

seo-description-length

SEO description should be 80-160 characters; current length is 58. Owner%3A @zclllyybb
{
"title": "MASK",
"language": "zh-CN",
Expand Down Expand Up @@ -27,7 +27,7 @@

## 返回值

返回 VARCHAR 类型,为字母和数字被替换后的字符串。

Check warning on line 30 in i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/sql-manual/sql-functions/scalar-functions/string-functions/mask.md

View workflow job for this annotation

GitHub Actions / Build Check

markdown-cjk-spacing

Chinese text should contain spaces around adjacent English words or numbers. Owner%3A @zclllyybb

特殊情况:

Expand Down Expand Up @@ -138,7 +138,7 @@
+--------------------------------------+
| mask('Test123', 'ABC', 'xyz', '999') |
+--------------------------------------+
| Xxxx999 |
| Axxx999 |
+--------------------------------------+
```

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---

Check warning on line 1 in i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/sql-manual/sql-functions/scalar-functions/string-functions/position.md

View workflow job for this annotation

GitHub Actions / Build Check

seo-description-length

SEO description should be 80-160 characters; current length is 40. Owner%3A @zclllyybb
{
"title": "POSITION",
"language": "zh-CN",
Expand Down Expand Up @@ -124,7 +124,7 @@
+--------------------------------------+-------------------------------------------+
| POSITION('ḍḍumai' IN 'ṭṛì ḍḍumai hello') | POSITION('hello', 'ṭṛì ḍḍumai hello', 8) |
+--------------------------------------+-------------------------------------------+
| 5 | 13 |
| 5 | 12 |
+--------------------------------------+-------------------------------------------+
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ SELECT REVERSE('ṭṛì ḍḍumai'), REVERSE('ḍḍumannàri');
+-----------------------+------------------------+
| REVERSE('ṭṛì ḍḍumai') | REVERSE('ḍḍumannàri') |
+-----------------------+------------------------+
| iamuḍḍ ìṛṭ | irànnaumuḍḍ |
| iamuḍḍ ìṛṭ | irànnamuḍḍ |
+-----------------------+------------------------+
```

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---

Check notice on line 1 in versioned_docs/version-4.x/sql-manual/sql-functions/scalar-functions/string-functions/ends-with.md

View workflow job for this annotation

GitHub Actions / Build Check

i18n-sync-locale-candidate

Japanese docs are report-only. Generate a candidate translation from the changed files and merge it only after human review. Owner%3A @zclllyybb

Check notice on line 1 in versioned_docs/version-4.x/sql-manual/sql-functions/scalar-functions/string-functions/ends-with.md

View workflow job for this annotation

GitHub Actions / Build Check

i18n-sync-version-candidate

A 3.x counterpart exists. Confirm whether the change is supported in 3.x before leaving it unsynced. Owner%3A @zclllyybb

Check warning on line 1 in versioned_docs/version-4.x/sql-manual/sql-functions/scalar-functions/string-functions/ends-with.md

View workflow job for this annotation

GitHub Actions / Build Check

seo-description-length

SEO description should be 80-160 characters; current length is 77. Owner%3A @zclllyybb
{
"title": "ENDS_WITH",
"language": "en",
Expand Down Expand Up @@ -97,7 +97,7 @@
+---------------------------+------------------------------+
| ENDS_WITH('test', 'test') | ENDS_WITH('testing', 'test') |
+---------------------------+------------------------------+
| 1 | 1 |
| 1 | 0 |
+---------------------------+------------------------------+
```

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---

Check notice on line 1 in versioned_docs/version-4.x/sql-manual/sql-functions/scalar-functions/string-functions/mask-last-n.md

View workflow job for this annotation

GitHub Actions / Build Check

i18n-sync-locale-candidate

Japanese docs are report-only. Generate a candidate translation from the changed files and merge it only after human review. Owner%3A @zclllyybb

Check notice on line 1 in versioned_docs/version-4.x/sql-manual/sql-functions/scalar-functions/string-functions/mask-last-n.md

View workflow job for this annotation

GitHub Actions / Build Check

i18n-sync-version-candidate

A 3.x counterpart exists. Confirm whether the change is supported in 3.x before leaving it unsynced. Owner%3A @zclllyybb
{
"title": "MASK_LAST_N",
"language": "en",
Expand Down Expand Up @@ -147,11 +147,11 @@
SELECT mask_last_n('Helloṭṛ123', 9);
```
```text
+--------------------------------+
| mask_last_n('Hello你好123', 9) |
+--------------------------------+
| Hello你好nnn |
+--------------------------------+
+----------------------------------+
| mask_last_n('Helloṭṛ123', 9) |
+----------------------------------+
| Helloṭṛnnn |
+----------------------------------+
```

```sql
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---

Check notice on line 1 in versioned_docs/version-4.x/sql-manual/sql-functions/scalar-functions/string-functions/mask.md

View workflow job for this annotation

GitHub Actions / Build Check

i18n-sync-locale-candidate

Japanese docs are report-only. Generate a candidate translation from the changed files and merge it only after human review. Owner%3A @zclllyybb

Check notice on line 1 in versioned_docs/version-4.x/sql-manual/sql-functions/scalar-functions/string-functions/mask.md

View workflow job for this annotation

GitHub Actions / Build Check

i18n-sync-version-candidate

A 3.x counterpart exists. Confirm whether the change is supported in 3.x before leaving it unsynced. Owner%3A @zclllyybb
{
"title": "MASK",
"language": "en",
Expand Down Expand Up @@ -128,7 +128,7 @@
+--------------------------------------+
| mask('Test123', 'ABC', 'xyz', '999') |
+--------------------------------------+
| Xxxx999 |
| Axxx999 |
+--------------------------------------+
```

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---

Check notice on line 1 in versioned_docs/version-4.x/sql-manual/sql-functions/scalar-functions/string-functions/position.md

View workflow job for this annotation

GitHub Actions / Build Check

i18n-sync-locale-candidate

Japanese docs are report-only. Generate a candidate translation from the changed files and merge it only after human review. Owner%3A @zclllyybb
{
"title": "POSITION",
"language": "en",
Expand Down Expand Up @@ -124,7 +124,7 @@
+--------------------------------------+-------------------------------------------+
| POSITION('ḍḍumai' IN 'ṭṛì ḍḍumai hello') | POSITION('hello', 'ṭṛì ḍḍumai hello', 8) |
+--------------------------------------+-------------------------------------------+
| 5 | 13 |
| 5 | 12 |
+--------------------------------------+-------------------------------------------+
```

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---

Check notice on line 1 in versioned_docs/version-4.x/sql-manual/sql-functions/scalar-functions/string-functions/reverse.md

View workflow job for this annotation

GitHub Actions / Build Check

i18n-sync-locale-candidate

Japanese docs are report-only. Generate a candidate translation from the changed files and merge it only after human review. Owner%3A @zclllyybb

Check notice on line 1 in versioned_docs/version-4.x/sql-manual/sql-functions/scalar-functions/string-functions/reverse.md

View workflow job for this annotation

GitHub Actions / Build Check

i18n-sync-version-candidate

A 3.x counterpart exists. Confirm whether the change is supported in 3.x before leaving it unsynced. Owner%3A @zclllyybb
{
"title": "REVERSE",
"language": "en",
Expand Down Expand Up @@ -116,7 +116,7 @@
+-----------------------+------------------------+
| REVERSE('ṭṛì ḍḍumai') | REVERSE('ḍḍumannàri') |
+-----------------------+------------------------+
| iamuḍḍ ìṛṭ | irànnaumuḍḍ |
| iamuḍḍ ìṛṭ | irànnamuḍḍ |
+-----------------------+------------------------+
```

Expand Down
Loading