Skip to content

Commit c99b923

Browse files
authored
docs: add show catalogs sql reference (#3170)
1 parent db1258c commit c99b923

8 files changed

Lines changed: 52 additions & 0 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"label":"Catalog","position":9}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
title: Catalog
3+
---
4+
| 命令 | 描述 |
5+
|---------|-------------|
6+
| [SHOW CATALOGS](show-catalogs.md) | 列出 catalog |
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
title: SHOW CATALOGS
3+
sidebar_position: 1
4+
---
5+
6+
列出 catalog。
7+
8+
## 语法
9+
10+
```sql
11+
SHOW CATALOGS [ LIKE '<pattern>' | WHERE <expr> ]
12+
```
13+
14+
## 示例
15+
16+
```sql
17+
SHOW CATALOGS;
18+
```

docs/cn/sql-reference/10-sql-commands/00-ddl/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ title: DDL(Data Definition Language)命令
88

99
| 组件 | 描述 |
1010
|-----------|-------------|
11+
| **[Catalog](09-catalog/index.md)** | 查看可用 catalog 列表 |
1112
| **[数据库](00-database/index.md)** | 创建、修改和删除数据库 |
1213
| **[](01-table/index.md)** | 创建、修改和管理表 |
1314
| **[表版本管理 (Table Versioning)](21-table-versioning/index.md)** | 创建命名快照标签用于时间回溯 |
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"label":"Catalog","position":9}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
title: Catalog
3+
---
4+
| Command | Description |
5+
|---------|-------------|
6+
| [SHOW CATALOGS](show-catalogs.md) | Lists catalogs |
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
title: SHOW CATALOGS
3+
sidebar_position: 1
4+
---
5+
6+
Lists catalogs.
7+
8+
## Syntax
9+
10+
```sql
11+
SHOW CATALOGS [ LIKE '<pattern>' | WHERE <expr> ]
12+
```
13+
14+
## Example
15+
16+
```sql
17+
SHOW CATALOGS;
18+
```

docs/en/sql-reference/10-sql-commands/00-ddl/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ These topics provide reference information for the DDL (Data Definition Language
88

99
| Component | Description |
1010
|-----------|-------------|
11+
| **[Catalog](09-catalog/index.md)** | List available catalogs |
1112
| **[Database](00-database/index.md)** | Create, alter, and drop databases |
1213
| **[Table](01-table/index.md)** | Create, alter, and manage tables |
1314
| **[Table Versioning](21-table-versioning/index.md)** | Create named snapshot tags for time travel |

0 commit comments

Comments
 (0)