Skip to content

Commit

Permalink
Update syntax doc for show storage units (#32459)
Browse files Browse the repository at this point in the history
  • Loading branch information
RaigorJiang authored Aug 10, 2024
1 parent 200708a commit cec8610
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cec8610

Please sign in to comment.