Skip to content

Interface Overview

Zequel uses a split-pane layout designed to keep your databases, queries, and results visible at the same time. This page describes each region of the workspace and how the panels interact.

Layout Regions

The interface is divided into six primary regions, arranged left to right and top to bottom:

+---+------------+--------------------------------------+
|   |            |  Tab Bar                             |
|   |            +--------------------------------------+
| C |  Sidebar   |                                      |
| o |            |  Query Editor / Data Grid            |
| n | (database  |                                      |
| n |   tree)    +--------------------------------------+
| e |            |                                      |
| c |            |  Results Panel                       |
| t |            |                                      |
| . |            +--------------------------------------+
|   |            |  Status Bar                          |
+---+------------+--------------------------------------+

Connection Rail

The connection rail is the narrow vertical bar along the left edge of the window. Each saved connection appears as an icon. Click a connection to activate it and populate the sidebar with its database objects. The + button at the top of the rail opens the new connection dialog.

You can have multiple connections open at the same time. The currently active connection is indicated by a highlight on its icon. Switching between connections updates the sidebar but does not close your open tabs.

The sidebar displays the database tree for the active connection. The tree is organized hierarchically:

  • Pinned -- Tables and views you have pinned for quick access (see below).
  • Database (or schema, depending on the engine)
    • Tables -- click a table to open it in the data grid
    • Views
    • Functions / Procedures (where supported)
    • Indexes
    • Other objects (sequences, types, etc.)

Right-clicking any tree item opens a context menu with actions such as viewing structure, viewing properties, pinning to top, dropping objects, or importing data. You can collapse or expand the sidebar by dragging its edge or pressing Cmd+B (macOS) / Ctrl+B (Windows/Linux).

Pinned Entities

You can pin frequently-used tables and views to the top of the sidebar for quick access. Right-click a table or view and select Pin to Top. Pinned entities appear in a collapsible Pinned section above the database tree.

  • Pins are saved per connection and persist across sessions.
  • Hover over a pinned item to reveal an unpin button.
  • Right-click a pinned item and select Unpin to remove it.
  • PostgreSQL: tables from different schemas are treated as separate pinned entities.

Recents

Zequel automatically tracks recently accessed tables, views, and queries for the active connection. Recent items appear in the sidebar and in the command palette, giving you quick access to objects you work with frequently. Recents are stored per connection and can be cleared at any time.

Tab Bar

The tab bar sits along the top of the main content area. Every table you open and every query you write gets its own tab. Tabs can be reordered by dragging.

Press Cmd+T (macOS) / Ctrl+T (Windows/Linux) to open a new query tab. Press Cmd+W (macOS) / Ctrl+W (Windows/Linux) to close the current tab.

Tab Context Menu

Right-click any tab to open a context menu with the following actions:

ActionDescription
CloseClose the clicked tab.
Close OthersClose all tabs except the clicked one.
Close to the RightClose all tabs to the right of the clicked one.
Close AllClose every open tab.

Query Editor Panel

When a query tab is active, the upper portion of the main content area shows the Monaco-based query editor. The editor provides:

  • Syntax highlighting for SQL dialects matching the active connection type.
  • Autocompletion for table names, column names, and SQL keywords.
  • Multiple cursors and standard Monaco editing features.
  • Execute with Cmd+Enter (macOS) / Ctrl+Enter (Windows/Linux) to run the current statement or selected text.

The editor fills the available width and can be resized vertically by dragging the divider between it and the results panel.

Results Panel

The results panel occupies the lower portion of the main content area. After running a query, this panel displays the result set in a virtual-scrolled data grid. Key capabilities:

  • Column sorting -- click a column header to sort ascending or descending.
  • Column resizing -- drag column edges to adjust width.
  • Inline editing -- double-click a cell to modify its value when viewing table data.
  • Export -- right-click to export the current result set as CSV, JSON, SQL, or Excel.

When viewing a table directly (rather than a query result), the results panel doubles as the data grid with full editing support.

Status Bar

The status bar runs along the bottom of the window. It shows contextual information about the current tab:

  • Row count -- total rows returned or loaded.
  • Execution time -- how long the last query took.
  • Connection info -- database engine, host, and database name.
  • Pending changes -- when editing table data, the status bar shows the number of unsaved changes with Apply and Discard controls.

Command Palette

Press Cmd+K (macOS) / Ctrl+K (Windows/Linux) to open the command palette. The palette provides fuzzy search across all available actions: switching connections, opening tables, running commands, and toggling settings. It is the fastest way to navigate large workspaces.

Theme

Zequel supports dark and light themes. Toggle between them in the application settings. The theme applies to all interface regions including the Monaco editor.

ER Diagrams

To view an entity-relationship diagram for your database, right-click a schema or database node in the sidebar and select View ER Diagram. The diagram renders table nodes with their columns and draws lines between tables based on foreign key relationships. You can pan and zoom the diagram canvas.

Safe Mode

Safe mode prevents accidental data modifications by blocking all write operations. Toggle it by clicking the shield icon in the header bar. When active, the icon turns green and a toast confirms that safe mode is enabled.

With safe mode on, the following actions are disabled:

  • Dropping or renaming tables, views, and other objects.
  • Creating new tables or databases.
  • Deleting rows.
  • Any destructive schema operations.

You can still browse data, run SELECT queries, and export data. The setting persists across sessions.

Privacy Mode

Privacy mode blurs all data values across the application, allowing you to share your screen or present without exposing sensitive information. Toggle it by clicking the eye icon in the header bar (next to Safe Mode). When active, the icon turns purple.

Privacy mode applies to:

  • Data grid -- All cell values are blurred; column headers remain visible.
  • Row detail panel -- Text, input, and JSON fields are blurred.
  • Cell value viewer -- Text and images are blurred.
  • Monitoring view -- User, database, and query columns are blurred.
  • Import dialog -- Preview rows and sample values are blurred.

The setting persists across sessions via localStorage.

Process Monitor

Access the process monitor from the command palette or the application menu. It displays a live list of active queries and connections on the current database server, allowing you to inspect long-running operations and terminate them if needed.

Next Steps

  • Quick Start -- Walk through creating a connection and running your first query.
  • Introduction -- Review supported databases and feature highlights.

Released under the Elastic License 2.0.