Move & preserve data
Move table data and loaded query results into files.
Export reviewed tables or loaded result text; import compatible SQL and prepared CSV through separate, explicit target flows.
Current-development draft with 18 bilingual walkthroughs. Three owner originals now illustrate the query-export entry/setup and a separate SQL-target confirmation. Desktop keyboard, engine, full workflow, output/import/readback and named-release acceptance remain pending.
How it works
Choose Table → Export table, Database → Export Current Database or the SQL Editor result export button. Table scans, loaded result widgets and SQL/CSV input have different scopes and commit boundaries.
A quick walkthrough
- Verify connection/database/Schema and the actual table-tree selection or every loaded SQL result tab.
- Choose the source-specific format, tables and nonempty fields. Table export re-reads tables; query export collects all loaded results as text, including locally hidden rows.
- Review the real directory and filename. Query results require Browse to apply the directory; inspect the generated file after completion.
- For input, choose UTF-8 .sql or .csv separately. Review SQL target/create/drop choices or prepare CSV in the existing target’s exact field order before confirming a write.
- After an authorized import or interruption, re-read the exact target and identify committed work before retrying.

Default shortcuts and local controls
The first six entries retain the configurable action defaults or result-toolbar entry. Open the intended workspace and check the current menu binding before use; local wizard keys have their own focus scope.
| Action | Windows / Linux | macOS | Focus and effect |
|---|---|---|---|
| Open table import | Alt+M | ⌥+M | Configurable Import Table action. Use Table → Import table; the current Workspace menu does not list it. SQL/CSV selection and final confirmation are separate. |
| Open table export | Alt+E | ⌥+E | Configurable Export Table action. A content tab and intended object-tree selection are required; review the wizard’s tables rather than grid rows. |
| Import from a table-tree / table-tab menu | Alt+Shift+I | ⌥+Shift+I | Configurable Import Table Data entry. Tree context identifies a target; a tab menu activates its tab. Shared main actions can have a different current binding. |
| Export from a table-tree / table-tab menu | Alt+Shift+M | ⌥+Shift+M | Configurable Export Table Data entry. Tab activation does not replace export’s object-tree selection; review the wizard. |
| Export the current database | Alt+Shift+E | ⌥+Shift+E | Configurable Export Database action in Database → Export Current Database. Uses the database/Schema table list, not a page or grid selection. |
| Export query results | No dedicated default | No dedicated default | Click Export query results in the SQL Editor result toolbar. Collects all loaded result tables, independent of selection/current tab/local row hiding. |
| Local table-wizard export binding | Ctrl+Return / Ctrl+Enter | Use Export button; physical key unverified | A local Qt binding on the table dialog has widget-only scope; it is not a configurable window-wide action or guaranteed from child inputs. No explicit macOS alias is added here. |
| Toggle a field in Export Adapter | Space | Space | Focus the adapter field table and current row; toggle its Export checkbox. This is a local key, not the main grid selection. |
| Accept or cancel field choices | OK / Cancel buttons | OK / Cancel buttons | Local dialog buttons. OK applies fields and lets the job continue; Cancel cancels the export. Keep at least one field selected. |
| Choose formats, tables and output scope | Format tabs and checkboxes | Format tabs and checkboxes | No dedicated default chooses tables, a format or combined files. Review the active format list and Export to a single file. |
| Choose the destination | Change… / Browse… buttons | Change… / Browse… buttons | Table export also applies typed Path. Query-result export requires Browse to apply the actual directory; typing its Export Path alone does not. |
| Confirm an import | Import / target-picker buttons | Import / target-picker buttons | SQL Import or accepting the CSV target starts database work. There is no common field-mapping preview or global confirmation shortcut. |
| Cancel a running transfer | Progress Cancel control | Progress Cancel control | No common dedicated default. Export can leave partial files; SQL/CSV cancellation can retain committed writes. |
| Choose current-page or selected-row export | No common scope control | No common scope control | Neither reviewed table/result wizard offers this as a common toggle. Table export re-reads tables; result export uses all loaded widget rows. |
- Settings → Shortcuts shows configurable actions. Export Table / Export Table Data and Import Table / Import Table Data can bind the same main action; the defaults are not guaranteed simultaneous aliases. Transient context menus copy their own configured entry.
- On macOS, ⌥ means Option and ⌘ means Command. The local table-wizard Ctrl+Return / Ctrl+Enter sequence bypasses the shared shortcut expansion; no physical macOS key outcome is claimed. Use the visible button when focus or binding is uncertain.
- Space in Export Adapter is a local field-table key. Menu labels, default-button Return behavior, operating-system interception and customized keys still require independent desktop keyboard checks.
Objects in this workflow
What to know
- Table/database export does not inherit grid page, selected rows, SQL conditions or highlights. Query export has no current-tab/selected-row/filtered-only scope control and does not fetch missing server rows.
- Table output offers SQL, CSV, XML, Dot, TXT, JSON, Markdown, PDF, Word and Excel; result output offers seven formats without SQL, XML or Dot. Only .sql and .csv are input branches here.
- CSV skips the first row, pairs values positionally with metadata columns and has no mapping/preview/NULL conversion/conflict policy. SQL target redirection is limited and does not neutralize destructive statements in the file.
- SQL commits DDL/non-row work and row batches; SQL/CSV cancellation can retain writes. A success message or progress count does not establish file integrity or fresh target readback.
- Output can replace an existing file or leave partial files. Empty field choices can fall back to all fields; result CSV stays comma-separated and some format/advanced controls have limited effect.
- Capabilities remain partial by relational/MongoDB engine; Redis relational transfer is unsupported. SQL output, MongoDB scripts and Dot text are not complete backups, CDA archives or automatic migration.