Sidebar Overview
The sidebar displays database objects organized by type:- Tables: All tables in the active database/schema
- Views: Materialized and standard views
- Functions: User-defined and built-in functions
- Procedures: Stored procedures
- Sequences: Auto-increment sequences (PostgreSQL, Oracle)
- Triggers: Table and database triggers
- Events: Scheduled events (MySQL)
- Extensions: Installed extensions (PostgreSQL)
- Users/Roles: Database users and roles
Navigating the Tree
Expanding and Collapsing
Schema Selection (PostgreSQL)
For PostgreSQL databases, select the active schema:System schemas like
pg_catalog and information_schema are hidden by default. Enable them in Settings → Show System Schemas.Database-Specific Trees
Zequel adapts the sidebar tree to each database type:- PostgreSQL
- MySQL/MariaDB
- SQLite
- MongoDB
- Redis
- Schemas (public, custom)
- Tables with schema prefix
- Materialized Views
- Functions (PL/pgSQL)
- Procedures
- Sequences
- Extensions
- Triggers
- Users & Roles
Opening Database Objects
Tables
Click any table to open it in the Data Grid:Views
Open views the same way as tables:- Click a view name to browse its data
- For materialized views, refresh them via the context menu
- View definitions can be edited in the Structure view
Functions and Procedures
Inspect and edit stored code:Context Menus
Right-click any object in the sidebar for quick actions:Table Context Menu
- Open Table: Open in Data Grid (same as clicking)
- View Structure: Jump to the Structure tab
- Rename Table: Rename the table
- Duplicate Table: Create a copy with a new name
- Truncate Table: Delete all rows (keeps structure)
- Drop Table: Permanently delete the table
- Export Table: Export all rows to CSV/JSON/SQL
- Copy Table Name: Copy name to clipboard
View Context Menu
- Open View: Browse view data
- Edit View: Modify the view definition
- Refresh Materialized View: Rebuild materialized view data (PostgreSQL)
- Drop View: Delete the view
Function/Procedure Menu
- Edit: Open in code editor
- Drop: Delete the function/procedure
- Copy Name: Copy to clipboard
Searching Objects
Quick Filter
Filter the sidebar tree in real-time:Search is case-insensitive and matches partial strings. For example, “user” matches “users”, “user_profiles”, and “system_users”.
Managing Databases
Create Database
Create a new database from the sidebar:Switch Database
Drop Database
Delete a database and all its objects:Creating Objects
Create Table
Create View
Refreshing the Tree
Update the sidebar to reflect external changes:- Refresh Button: Click the refresh icon at the top of the sidebar
- Keyboard: Press
Cmd+Rwhile focused on the sidebar - Auto-Refresh: The tree automatically updates after creating/dropping objects in Zequel
If another tool modifies the database, manually refresh to see the changes.
Pending Changes Indicator
Tables with unsaved data edits show a blue dot:- The dot appears next to table names in the sidebar
- It indicates pending edits, inserts, or deletes in the Data Grid
- The dot disappears when you apply or discard changes
Privacy Mode
Hide sensitive data in the sidebar:
Useful when screensharing or presenting with sensitive database names.
Keyboard Shortcuts
| Shortcut | Action |
|---|---|
Cmd+K | Focus search box |
Cmd+R | Refresh tree |
Shift+Cmd+P | Toggle Privacy Mode |
Cmd+B | Toggle sidebar visibility |
Arrow Up/Down | Navigate tree items |
Enter | Open selected item |
Best Practices
Use Search for Large Schemas
Use Search for Large Schemas
In databases with hundreds of tables, use the Quick Filter to narrow the list before scrolling.
Organize with Schemas
Organize with Schemas
For PostgreSQL, organize related tables into custom schemas (e.g.,
auth, analytics, public) for easier navigation.Avoid System Tables
Avoid System Tables
Keep Show System Schemas disabled unless you need to inspect internal database metadata.
Refresh After External Changes
Refresh After External Changes
If you modify the database in another tool (psql, mysql, etc.), refresh the tree in Zequel to see the updates.