# Schema Inspection

> Inspect database schema

---

## Content

# Schema\nUse dt command

## Q&A

**Q: How do I inspect the database schema?**

Use the `dt` command.

**Q: What is the main purpose of the `dt` command?**

Used to view tables.

**Q: What is the English title corresponding to 'Schema 查看'?**

Schema Inspection.

**Q: What is the brief summary of this document section?**

Inspect database schema.

**Q: Which specific command needs to be executed to view table structures?**

Execute the `dt` command.

---

## 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"
```
