Database Schema and Relationship Diagrams
Inspect table and field metadata, declared relational keys and separately inferred MongoDB references on a searchable diagram.
How it works
Start with the verified database and main-workspace Schema. F3 opens the database diagram; F9 focuses a table’s same-prefix-group related view. Selection, search, layout and zoom inspect a loaded snapshot.
- Verify connection/database/Schema and open Database → Database Diagram (F3), or the intended table’s Diagram (F9).
- Choose All Tables, prefix groups or table rows. Single-table traversal stays in its group; multiple table rows can expand a connected component beyond the selected rows.
- Inspect fields, key markers and referenced-key → constrained-field details. Keep relational declarations separate from MongoDB naming guesses.
- Search visible table/field names and comments with Enter, navigate matches, and use Auto Layout, node expansion, panning and zoom. Use unshifted Ctrl+= / ⌘= to zoom in; Shift-modified plus/minus resets to 100%.
- Before Open Table, verify the main workspace target. Use dedicated structure/constraint and export flows for their own tasks; reopen the diagram to attempt another metadata load.
Availability and limits
Source-reviewed current-development draft with one authentic diagram illustration, all text mosaicked at the owner request; release-pending. Engine/build and exact target remain unrecorded. Availability depends on dialect, namespace, metadata access, driver and server version.
- The left tree groups names, not Schemas; this window has no Schema picker. Both endpoints must be loaded/displayed, and same-name or cross-namespace identities need independent checking.
- Relational links use returned foreign-key metadata. Composite keys can render as field-pair lines; arrows and key markers do not establish enforcement, complete dependencies or fresh data.
- MongoDB field discovery can aggregate/sample collection contents and infer id/ids references to _id. These are guesses, not validated foreign keys or a complete document schema. Redis diagrams are not applicable.
- The diagram is read-only. Its toolbar and table menu expose no diagram PNG/SVG/PDF/SQL/layout export, remote Refresh, or schema/data Save/Apply/Execute. Open Table enters a separate grid with its own editing rules.
- Auto Layout and display/search controls reuse the snapshot and can replace manual positions. The non-modal Open Table path depends on the main workspace’s current target.
- Diagram capability remains partial across relational engines and MongoDB. One genuine diagram still is included with all text mosaicked; build/engine/namespace attribution, physical keys, full workflows and named-release acceptance remain unverified.