Help › Explore a database
Browse a database
Open a connection in the sidebar, move through its databases, schemas, tables and columns, refresh them, and mark favorites.
Querlyn 0.1.0 is not released yet. This help describes it ahead of release.
The sidebar lists your connections under CONNECTIONS. Each connection opens into what the database holds, level by level. Querlyn reads a level from the database when you open it, so a large database does not have to be read before you can start.
Open a connection and look around
Click the arrow beside a connection. It connects, and shows its contents:
| Level | What it holds |
|---|---|
| Connection | Its databases. The one the connection works in is marked current. After them, on databases that have users, a Users and Roles row; see Manage users, roles and privileges. On a database file (SQLite, DuckDB), its database and its main schema open when the connection opens. |
| Database | Its schemas. Schemas the database keeps for itself are marked system. |
| Schema | Folders by kind of object, each with a count: Tables, Views, Functions and so on. |
| Table or view | Its columns, with their types. Then, when there are any, the folders Indexes, Foreign Keys, Checks, Triggers and Properties. |
Only folders the schema has something for are shown, and only kinds the
database has: there is no Sequences folder on MySQL. On MySQL,
MariaDB, ClickHouse, MongoDB and Cassandra, what the server calls a
database (a keyspace, on Cassandra) is listed right under the connection,
and opens like a schema; on Oracle, the users are listed as schemas. On
SQL Server, the schemas of the fixed database roles (db_owner and the
others) and guest are listed only when they hold something.
A column that is part of the primary key has a gold key icon, and one that is part of a foreign key has a link icon. An index is listed with its columns, and a foreign key with the table it refers to.
A row shows a name and a little more: a column's type, for example. Rest the pointer on a row to read the rest: whether a column allows NULL and its default, a comment on a table or a schema, an index's columns, a connection's address and state. A row whose text does not fit the sidebar shows all of it the same way. For a table's whole structure, open it with or .
While a level is being read, a Loading… row stands in for it. If reading fails, the row says Couldn't load with the reason and a Retry button.
Move with the keyboard
Press ⌘0 on macOS or Ctrl+0 on Windows and Linux to put the keyboard in the sidebar.
| Key | What it does |
|---|---|
| ↑ on macOS or Up on Windows and Linux, ↓ on macOS or Down on Windows and Linux | Move to the row above or below. |
| → on macOS or Right on Windows and Linux | Open the row; on an open row, go to its first child. |
| ← on macOS or Left on Windows and Linux | Close the row; on a closed row, go to its parent. |
| ↖ on macOS or Home on Windows and Linux, ↘ on macOS or End on Windows and Linux | Go to the first or last row. |
| ↩ on macOS or Enter on Windows and Linux | On a table or view, open its rows. On other rows, open or close them. On a Couldn't load row, try again. |
| Typing letters | Jump to the next row whose name starts with what you typed. |
With the mouse, the arrow opens and closes a row without selecting it, and a double-click on a table or view opens its rows in a table tab; see Open a table's rows.
Do something with what you selected
Right-click a row for the commands that apply to it. The same commands are in the Query menu and act on the selected row.
| Selected | Commands |
|---|---|
| A connection | Connect, Disconnect, New Query on This Connection, Server Activity, Users and Roles, Show ER Diagram, Compare With…, Show Schema History, Take Snapshot Now, Back Up…, Restore…, Edit Connection…, Toggle Read-Only and more; see Manage connections. |
| A table | Open Data, Query Data in New Tab, Compare Data With…, Import Data…, Copy to Another Connection…, Edit Structure…, Show DDL, Privileges…, Show ER Diagram, Show Schema History, Copy Name, Toggle Favorite, New Table…, New Query. |
| A view, function or other object | The same, with Show Definition in place of Show DDL. |
| A column | Mask Column and Stop Masking Column; see Share your screen safely. |
| A schema or database | New Query, Import Data into New Table…, Copy to Another Connection…, New Table…, Show ER Diagram, Compare With…, Show Schema History, Take Snapshot Now, Privileges…, Back Up…, Restore… and Clear Schema History…. |
New Query opens a query tab on the database of the row you clicked; see Choose a tab's connection and database.
copies the selected object's name, with its schema and quoted where the database needs quotes, ready to paste into SQL.
The buttons at the top of the sidebar act on the selection too: the + menu, Refresh, Connect or Disconnect, Activity, ER Diagram and Compare….
Refresh what you see
Querlyn keeps what it has read, so the sidebar and completion answer at once and do not ask the database again each time. After something changed outside Querlyn, select the connection, database, schema or table and choose . That part is read again, and what you had open below it opens again.
After a schema change that Querlyn itself ran, such as applying a table design, it refreshes the part that changed by itself.
Mark favorites
Select a table, view or routine and choose . A star marks it in the sidebar, and completion offers it before other objects that match equally well. Objects you used recently are preferred in the same way.
What is remembered
Querlyn remembers which rows you had open, for each connection, and opens them again the next time you connect. It also remembers which folders of connections you closed. Both stay on this computer.
Find a table
There is no search box for the sidebar. To get to a table:
- In the sidebar, open its schema and its Tables folder and type the first letters of its name.
- In a query tab, start typing its name after
FROM; completion finds it in any schema.
(⌘P on macOS or Ctrl+P on Windows and Linux) finds open tabs and saved queries by name. It does not list tables.
Make the sidebar wider
Drag the sidebar's right edge. Double-click the edge to go back to the usual width. , and do the same from the keyboard. ⌘B on macOS or Ctrl+B on Windows and Linux hides and shows the sidebar.
Help for Querlyn 0.1.0. All help topics