Files
dbx/docs/content/docs/schema-browser.mdx
T
t8y2 89fa8c02be docs: add landing page and upgrade all documentation with advanced components
- Add product landing page with hero section, stats, feature cards, database badges, comparison table, and screenshots
- Register Fumadocs MDX components (Tabs, Steps, Callout, Cards, Accordions) globally
- Rewrite all 17 doc pages (CN + EN) with richer content, use cases, and advanced components
- Add competitive comparison table (vs DBeaver/Navicat/TablePlus)
- Add ~300 lines of responsive landing page CSS
2026-05-07 14:53:35 +08:00

48 lines
1.7 KiB
Plaintext

---
title: Schema Browser
description: Tree view with search, pin, context menus, column comments, and connection colors.
---
<Callout type="info">
Explore your database objects in a hierarchical tree with search, pin, column comments, and color-coded connections to tell dev from production at a glance.
</Callout>
## Tree View
The browser organizes objects in a hierarchical tree:
```
Connection
└── Database
└── Schema
└── Tables / Views
└── Columns (type, constraints, defaults)
```
Expand any node to drill down. Click a table name to open it in the Data Grid. Column entries display their data type and attributes inline.
## Search and Pin
- **Search** — Type in the search field to filter across all connections, matching table names, view names, and column names
- **Pin** — Pin frequently used tables or views to the top of the sidebar for instant access, regardless of tree depth
## Context Menus
Right-click any node for context-specific actions:
- **Table** — Open data, open structure, copy table name, drop table
- **Column** — Copy column name
- **Connection** — Refresh metadata, disconnect
## Column Comments
If your database supports column comments (`COMMENT`), the Schema Browser displays them alongside each column, making it easy to understand column purposes without leaving the sidebar.
## Connection Colors
<Callout type="info">
Assign colors to connections — green for dev, red for production — to tell them apart at a glance and avoid accidental operations on the wrong environment.
</Callout>
Colors appear next to connection names in the sidebar and in tabs, especially useful when working with multiple connections.