Tabletist 0.9.0 is out. Tabletist is a database client for PostgreSQL, MySQL and MariaDB, SQLite and BigQuery, and for CSV, Parquet and JSON files. It is written in Rust and runs on Linux, macOS and Windows. This release is about the keyboard and the row panel: JSON values you can take apart, and keys you no longer have to remember.
One part of a JSON value
A JSON column rarely holds one thing. To get at plan.seats in a settings
document, you used to copy the whole value and dig through it somewhere
else, then write the expression that reads it by hand.
Now right-click a line of the JSON tree in the row panel. Copy value copies that part alone: a string without its quotes, anything else exactly as the database stored it. Copy path copies an expression you can paste straight into a query, written the way your database reads it:
| Database | A value | An object or array |
|---|---|---|
| PostgreSQL | meta->'a'->>'b' |
meta->'a' |
| MySQL, SQLite | meta->>'$.a.b' |
meta->'$.a' |
| MariaDB, BigQuery | JSON_VALUE(meta, '$.a.b') |
JSON_QUERY(meta, '$.a') |
| Files (DuckDB) | meta->>'/a/b' |
meta->'/a' |
The same works from the keyboard. From a JSON field, → goes into the tree.
↑ and ↓ move by line, → and ← unfold and fold, ⌘C copies the line’s value
and ⌥⌘C its path (Ctrl+C and Ctrl+Shift+C on Windows and Linux, yy and
yp in the Omarchy look). Esc goes back to the field, and coming back to
the same row puts you on the line you left. Screen readers read the tree as
a tree, each line with its level and its path.
Keys you can see
A button whose command has a key now names it in its tooltip: “Reload ⌘R”, with the key dimmed. The key comes from the keymap in force, so if you changed it in Settings › Keyboard, the tooltip says yours.
On macOS and Windows, the status bar now starts with the name of the pane your keys go to: Tables, Data, Structure, SQL editor, Results, Row panel and so on. It changes after a click, F6 or a shortcut, so you can tell before you press ⌘C whether it will copy rows or the query. The Omarchy look’s status line already did this.
Groups, finished
0.8 let you put connections in groups you name. 0.9 finishes them:
- Move a connection to another group from its row’s menu, or make a new group there.
- Rename a group by right-clicking its heading. Renaming one onto another merges the two.
- Switch the list between Groups and Environment. By environment, the list is headed Production, Staging, Dev, Local, with the riskiest first.
Disconnect works differently too. With other connections open, it now closes the connection’s tab and shows the one next to it, as closing a tab does. Before, the tab turned into the connection picker.
Also in 0.9.0
- Booleans are tagged
truein blue andfalsein tan. It was the other way round, and a tantrueread like a warning. - On macOS, dragging the window by its header starts on the press, and a double-click there does what System Settings › Desktop & Dock says.
- Tabletist is in Homebrew’s own casks now:
brew install --cask tabletist, no tap needed. - João fixed typos, agreement and terms in the Brazilian Portuguese translation, the first review it has had from a native speaker. Thank you!
The rest is in the release notes.
Try it
On macOS, run brew install --cask tabletist, or download the disk image.
On Windows, use the installer. On Linux, the AppImage is the quickest way
to try it, and the .tar.gz installs it with a launcher entry. Run it with
--demo to look around without a database. If you already have Tabletist,
it will offer 0.9.0 itself (installed with Homebrew,
brew upgrade --cask tabletist updates it).
Downloads are on the site, and the code is on GitHub. Bug reports are welcome.