SqlOtter
← All featuresManage objects

Manage objects

See how your tables are connected.

Inspect table and field metadata, declared relational keys and separately inferred MongoDB references on a searchable diagram.

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.

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.

A quick walkthrough

  1. Verify connection/database/Schema and open Database → Database Diagram (F3), or the intended table’s Diagram (F9).
  2. 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.
  3. Inspect fields, key markers and referenced-key → constrained-field details. Keep relational declarations separate from MongoDB naming guesses.
  4. 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%.
  5. 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.
Real Database Diagram window with all text mosaicked at the owner request; table-node positions, grid and colored links remain visible.
All window-title, toolbar, tree and table-node text, including values and comments, is mosaicked at the owner request. The real node positions, grid and links remain visible. The private supplied original shows 25% and empty search 0/0; those labels are hidden in this public image. No exact target, engine/build, enforced relationship or completed workflow is established.

Default shortcuts and diagram controls

F3/F9 are configurable main-window actions. The remaining rows describe reviewed diagram-local handlers and visible controls; source review does not establish physical-key acceptance.

Default shortcuts and diagram controls
ActionWindows / LinuxmacOSFocus and effect
Database → Database DiagramF3F3Main workspace; verify the active/clicked database and Schema. Configurable Show Diagram action.
Table → Diagram / table-tree DiagramF9F9Main workspace; current or selected table, then same-prefix-group related view. Configurable Diagram action.
Choose the displayed scopeAll Tables / group / table clickAll Tables / group / table clickAll Tables draws all loaded objects; group-only and single-table selections have different relationship expansion rules.
Select several table rowsNative tree extended selectionNative tree extended selectionSeveral table rows can expand a full connected component beyond the selected rows. Avoid mixing group headings and table rows.
Focus diagram searchCtrl+F⌘FActive diagram or its child control; focuses and selects the search input.
Submit search / next unchanged queryEnterEnter / ReturnSearch input; a new query searches visible nodes, unchanged successful query advances. Typing alone does not search.
Previous matching table↑ Previous Match button↑ Previous Match buttonSearch results; wraps backward. Shift+Enter is not established as Previous Match.
Next matching table↓ Next Match button↓ Next Match buttonSearch results; wraps forward. Counter is current matching table / total matching tables.
Clear diagram search× Clear Search× Clear SearchClears text, counter and search highlighting; no metadata reload or node deletion.
Set match case / regexAa / .* buttonsAa / .* buttonsChoose before a fresh search; with unchanged text, clear/re-enter after changing mode. No separate diagram default is established here.
Reuse search historyHistory controlHistory controlSearch-input history; selecting an item runs diagram search, rather than opening a table.
Jump to a match markerCanvas scrollbar marker clickCanvas scrollbar marker clickCanvas vertical scrollbar; selects/centers the matching table. Left-tree markers also show positions.
Arrange visible nodesAuto Layout buttonAuto Layout buttonRepack, fit and center the loaded graph; no server metadata refresh or saved layout.
Layout from blank canvasCtrl+double-clickQt ControlModifier + double-clickCanvas area without a table; source uses Qt ControlModifier only. macOS physical mapping remains pending; Auto Layout is the reliable explicit control.
Move a table nodeLeft-drag a tableLeft-drag a tableMoves a graphic node and updates links; does not change a table definition.
Pan the canvasLeft-drag blank canvasLeft-drag blank canvasStart away from tables and relationship lines. Plain wheel input scrolls.
Set displayed zoomZoom slider / percentage boxZoom slider / percentage boxDisplayed control range 25–300%; adjusts the diagram only.
Zoom with the wheelCtrl+wheelCommand or Control + wheelPointer over canvas; both Qt Control/Meta modifiers are accepted. Physical boundary behavior remains to be checked.
Zoom in without ShiftCtrl+=⌘=Active diagram; use the unshifted equals key. A Shift-modified plus/equals can invoke reset instead.
Zoom out without ShiftCtrl+-⌘-Active diagram; Shift-modified minus/underscore is the separate reset handler.
Reset displayed zoom to 100%Reset 1:1 / Ctrl+Shift+= / Ctrl+Shift+-Reset 1:1 / ⌘⇧= / ⌘⇧-Active diagram; the Shift reset handler takes precedence over zoom-in/out. This is diagram zoom, not application UI zoom.
Expand / collapse fieldsExpand / Collapse; title double-clickExpand / Collapse; title double-clickNodes with more than ten fields; toggles visible columns. Labels remain English in the current graphics code.
Center a node and toggle zoomNode-body double-clickNode-body double-clickSeparate from title expansion; toggles 100% and remembered non-100% zoom when available.
Toggle gridShow Grid Lines checkboxShow Grid Lines checkboxVisual grid only; enabled on setup, with no snap-to-grid editing.
Toggle commentsShow Comments checkboxShow Comments checkboxStarts checked; redraws the current loaded scope and can replace manual display state.
Inspect a relationshipLeft-click a lineLeft-click a lineSelects linked field rows and transient endpoint details; shared segments can select several connections.
Locate the constrained FK fieldRight-click a selected lineRight-click a selected lineNavigates the first selected matching connection toward its constrained table/field; does not open a relation editor.
Open table contentTable row/node → Open TableTable row/node → Open TableRight-click an actual table, then verify the main workspace target. No dedicated diagram-local key is assigned.
  • Settings → Shortcuts controls the F3/F9 bindings; customized keys take precedence. The active diagram’s local handlers and mouse gestures are separate from those main-window bindings.
  • Ctrl/Command plus F, zoom keys and the wheel are accepted through Qt Control/Meta handling. The blank-canvas layout double-click tests Qt ControlModifier only; do not assume a physical macOS Control key. Use Auto Layout until physically checked.
  • Shift plus a modified +, =, - or _ is reset-to-100%, processed before zoom-in/out. Use unshifted = to zoom in; the physical + key can require Shift and therefore reset instead.
  • On macOS, ⌘ means Command and ⇧ means Shift; F3/F9 may require Fn or an OS keyboard setting. Native tree multi-selection, focus, keyboard layouts and OS-reserved keys remain pending live checks.
  • There is no reviewed diagram export, Save/Apply/Execute, remote Refresh, Delete relationship or Ctrl+0 reset binding in this window. A tooltip or menu label is not proof of a successful physical gesture.

Objects in this workflow

  • Table
  • Foreign key
  • Relationship

What to know

  • 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.

Try it now

Put database work back into one focused workspace.

Start a Personal trial ↗