This is an automated email from the ASF dual-hosted git repository.
zhaojinchao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new cec86105660 Update syntax doc for show storage units (#32459)
cec86105660 is described below
commit cec86105660bb434ca99f1a780cf7a9c0e367905
Author: Raigor <[email protected]>
AuthorDate: Sat Aug 10 23:24:39 2024 +0800
Update syntax doc for show storage units (#32459)
---
.../syntax/rql/storage-unit-query/show-storage-units.cn.md | 8 +++++++-
.../syntax/rql/storage-unit-query/show-storage-units.en.md | 8 +++++++-
2 files changed, 14 insertions(+), 2 deletions(-)
diff --git
a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/storage-unit-query/show-storage-units.cn.md
b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/storage-unit-query/show-storage-units.cn.md
index f6369c1ccbc..ac754ff918d 100644
---
a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/storage-unit-query/show-storage-units.cn.md
+++
b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/storage-unit-query/show-storage-units.cn.md
@@ -13,7 +13,13 @@ weight = 1
{{% tab name="语法" %}}
```sql
ShowStorageUnit ::=
- 'SHOW' 'STORAGE' 'UNITS' ('WHERE' 'USAGE_COUNT' '=' usageCount)? ('FROM'
databaseName)?
+ 'SHOW' 'STORAGE' 'UNITS' showLike? ('WHERE' 'USAGE_COUNT' '=' usageCount)?
('FROM' databaseName)?
+
+showLike ::=
+ 'LIKE' likePattern
+
+likePattern ::=
+ string
usageCount ::=
int
diff --git
a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/storage-unit-query/show-storage-units.en.md
b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/storage-unit-query/show-storage-units.en.md
index 04b47711d0c..8fe41b577ef 100644
---
a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/storage-unit-query/show-storage-units.en.md
+++
b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/storage-unit-query/show-storage-units.en.md
@@ -13,7 +13,13 @@ The `SHOW STORAGE UNITS` syntax is used to query the storage
units that have bee
{{% tab name="Grammar" %}}
```sql
ShowStorageUnit ::=
- 'SHOW' 'STORAGE' 'UNITS' ('WHERE' 'USAGE_COUNT' '=' usageCount)? ('FROM'
databaseName)?
+ 'SHOW' 'STORAGE' 'UNITS' showLike? ('WHERE' 'USAGE_COUNT' '=' usageCount)?
('FROM' databaseName)?
+
+showLike ::=
+ 'LIKE' likePattern
+
+likePattern ::=
+ string
usageCount ::=
int