Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion features/data-files.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ A workbook is read-only. To keep a sheet, choose **File > Save As** and pick CSV

**File > Save As** (`Cmd+Shift+S`) writes a delimited file as CSV, TSV or pipe-separated text, and a JSON file as JSON, JSON Lines, CSV or TSV.

To write another format, choose **File > Export > Export Results…**, or right-click the grid and choose **Export Results…**. The export dialog offers every installed export format that works without a database, including CSV, JSON, SQL, XLSX and Markdown, and exports all rows, the rows passing the current filter, or the selected rows.
To write another format, choose **File > Export > Export Results…** (`Cmd+Option+Shift+E`), or right-click the grid and choose **Export Results…**. The export dialog offers every installed export format that works without a database, including CSV, JSON, SQL, XLSX and Markdown, and exports all rows, the rows passing the current filter, or the selected rows.

### Import into a table

Expand Down
4 changes: 2 additions & 2 deletions features/import-export.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ title: Import & Export
description: Export to CSV, JSON, SQL, MQL, XLSX, or a data dictionary. Import SQL, JSON, and CSV files with column mapping and transaction safety
---

**File > Export** (`Cmd+Shift+E`) re-reads every table you tick with `SELECT * FROM`, so what is on screen has no bearing on the file: filters, sort, hidden columns, and the page you are on are all ignored, and table size does not matter. **Export Results…** on the grid's right-click menu writes what the tab has loaded instead. **File > Export > Export Data Dictionary…** describes the tables rather than their rows. Import is `Cmd+Shift+I`.
**File > Export** (`Cmd+Shift+E`) re-reads every table you tick with `SELECT * FROM`, so what is on screen has no bearing on the file: filters, sort, hidden columns, and the page you are on are all ignored, and table size does not matter. **File > Export > Export Results…** (`Cmd+Option+Shift+E`), also on the grid's right-click menu, writes what the tab has loaded instead. **File > Export > Export Data Dictionary…** describes the tables rather than their rows. Import is `Cmd+Shift+I`.

## Export data

<Steps>
<Step title="Open the export dialog">
Open a table or run a query, then choose **File > Export** (`Cmd+Shift+E`), or right-click the results grid and choose **Export Results…**.
Open a table or run a query, then choose **File > Export** (`Cmd+Shift+E`). To export only the rows the tab holds, press `Cmd+Option+Shift+E` or right-click the results grid and choose **Export Results…**.
</Step>
<Step title="Choose a format and scope">
Pick a format, tick objects in the tree, and set the options for that format.
Expand Down
3 changes: 2 additions & 1 deletion features/keyboard-shortcuts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,8 @@ See [Filtering](/features/filtering) for the filter bar itself.

| Action | Shortcut |
|--------|----------|
| Export | `Cmd+Shift+E` |
| Export tables | `Cmd+Shift+E` |
| Export results | `Cmd+Option+Shift+E` |
| Import | `Cmd+Shift+I` |

## Tabs and windows
Expand Down
2 changes: 2 additions & 0 deletions scripts/check-docs-against-source.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@
"Toggle results": "toggleResults",
"Find": "find",
"Jump to column": "jumpToColumn",
"Export tables": "export",
"Export results": "exportResults",
}

RUNTIME_LEAVES = {
Expand Down
Loading