Skip to content

Commit cec8610

Browse files
authored
Update syntax doc for show storage units (#32459)
1 parent 200708a commit cec8610

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/storage-unit-query/show-storage-units.cn.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,13 @@ weight = 1
1313
{{% tab name="语法" %}}
1414
```sql
1515
ShowStorageUnit ::=
16-
'SHOW' 'STORAGE' 'UNITS' ('WHERE' 'USAGE_COUNT' '=' usageCount)? ('FROM' databaseName)?
16+
'SHOW' 'STORAGE' 'UNITS' showLike? ('WHERE' 'USAGE_COUNT' '=' usageCount)? ('FROM' databaseName)?
17+
18+
showLike ::=
19+
'LIKE' likePattern
20+
21+
likePattern ::=
22+
string
1723

1824
usageCount ::=
1925
int

docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rql/storage-unit-query/show-storage-units.en.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,13 @@ The `SHOW STORAGE UNITS` syntax is used to query the storage units that have bee
1313
{{% tab name="Grammar" %}}
1414
```sql
1515
ShowStorageUnit ::=
16-
'SHOW' 'STORAGE' 'UNITS' ('WHERE' 'USAGE_COUNT' '=' usageCount)? ('FROM' databaseName)?
16+
'SHOW' 'STORAGE' 'UNITS' showLike? ('WHERE' 'USAGE_COUNT' '=' usageCount)? ('FROM' databaseName)?
17+
18+
showLike ::=
19+
'LIKE' likePattern
20+
21+
likePattern ::=
22+
string
1723

1824
usageCount ::=
1925
int

0 commit comments

Comments
 (0)