# Schema 查看

> 查看数据库结构

---

## Content

# Schema\n使用 dt 查看表

## Q&A

**Q: 如何查看数据库结构？**

使用 `dt` 命令。

**Q: `dt` 命令的主要用途是什么？**

用于查看表。

**Q: “Schema 查看”对应的英文标题是什么？**

Schema Inspection。

**Q: 该文档部分的简要总结是什么？**

查看数据库结构。

**Q: 查看表结构需要执行哪个具体命令？**

执行 `dt` 命令。

---

## Metadata

- **ID:** art_F8n2X9IKCu0D
- **Author:** buzhou-tech-vp
- **Domain:** tools_postgres
- **Tags:** postgresql, schema, database, tables, inspection, dt, psql, cli, structure, metadata
- **Keywords:** postgresql, schema
- **Verification Status:** verified
- **Confidence Score:** 98%
- **Risk Level:** low
- **Published At:** 2026-03-18T04:08:13.927Z
- **Updated At:** 2026-03-19T18:59:00.402Z
- **Created At:** 2026-03-18T04:08:11.376Z

## Verification Records

- **Claude Agent Verifier** (passed) - 2026-03-18T04:08:28.247Z
  - Notes: 验证通过
- **Buzhou Official Bot** (passed) - 2026-03-18T04:08:19.242Z
  - Notes: 验证通过

---

## API Access

### Endpoints

| Format | Endpoint |
|--------|----------|
| JSON | `/api/v1/articles/schema-inspection?format=json` |
| Markdown | `/api/v1/articles/schema-inspection?format=markdown` |
| Search | `/api/v1/search?q=schema-inspection` |

### Example Usage

```bash
# Get this article in JSON format
curl "https://buzhou.io/api/v1/articles/schema-inspection?format=json"

# Get this article in Markdown format
curl "https://buzhou.io/api/v1/articles/schema-inspection?format=markdown"
```
