Opening the Command Palette
You can open the Command Palette using any of these shortcuts:Cmd/Ctrl+K(most common)Cmd/Ctrl+P(alternative)Cmd/Ctrl+Shift+P(alternative)
What You Can Search
The Command Palette searches across multiple object types:Tables
- All tables in the current database
- Shows row count for each table
- Displays as blue entries with table icon
Views
- Database views and materialized views
- Shows row count when available
- Displays as purple entries with eye icon
Columns
- All columns from all tables
- Shows as
tableName.columnName (dataType) - Displays as orange entries with columns icon
Saved Queries
- Your saved SQL queries
- Shows query name and preview of SQL
- Displays as green entries with code icon
Recent Items
- Recently accessed tables, views, and queries
- Shown when search is empty
- Displays as gray entries with history icon
Using the Command Palette
Basic Search
- Press
Cmd/Ctrl+Kto open the palette - Start typing to search (e.g., “users”, “order”, “product”)
- Results appear instantly as you type
- Press
↵ Enteror click to open the selected item
Fuzzy Matching
The search supports fuzzy matching, so you don’t need to type the exact name:usrmatchesusersorddetmatchesorder_detailsprodmatchesproducts,product_categories, etc.
Search Scope
The palette searches in:- Table names: Primary match
- Column names: Both column name and fully qualified name
- Column types: Search by data type (e.g., “varchar”, “integer”)
- Query names: Saved query titles
- Query SQL: Content of saved queries
The search is case-insensitive and matches partial strings anywhere in the name.
Navigation
Keyboard Navigation
| Key | Action |
|---|---|
↑ | Move selection up |
↓ | Move selection down |
↵ Enter | Open selected item |
Esc | Close the palette |
Mouse Navigation
- Hover over any item to select it
- Click to open the item
- Scroll through results if there are many
Opening Items
When you select an item from the Command Palette:Tables & Views
- Opens the table/view in a new tab
- Loads the first page of data (default: 100 rows)
- Shows table structure and allows editing (if not in safe mode)
Columns
- Opens the parent table
- Focuses on the selected column
- Useful for quickly navigating to specific fields
Saved Queries
- Opens the query in a new SQL editor tab
- Loads the saved SQL code
- Ready to execute or modify
Recent Items
- Reopens the recently accessed object
- Restores your previous context
Recent Items
When you open the Command Palette with an empty search, it shows your recently accessed items:- Last 10 items you’ve opened
- Includes tables, views, and queries
- Sorted by most recent first
- Great for quickly switching between common objects
How Recent Items are Tracked
How Recent Items are Tracked
Zequel automatically tracks items you open:
- Opening a table or view from the sidebar
- Selecting a result from the Command Palette
- Opening a saved query
- Creating a new query from a table
Performance
Loading Schema Data
When you first open the Command Palette:- Zequel loads all tables and views from the current database
- For each table, it fetches column information
- It loads all saved queries for the connection
- Results are cached for the session
Result Limits
To maintain performance:- Maximum 50 results shown at once
- Tables, views, and columns are all included in this limit
- Most specific matches appear first
Use Cases
Quick Table Access
Finding Columns
Opening Saved Queries
Switching Between Recent Items
Tips & Tricks
Troubleshooting
No Results Found
Problem: Search returns no results Solutions:- Ensure you’re connected to a database
- Check that you’re searching in the correct database
- Try a shorter or different search term
- Verify the object actually exists in the schema
Loading Takes Too Long
Problem: Command Palette shows “Loading…” for a long time Solutions:- This is normal for databases with thousands of tables/columns
- After the first load, results are cached
- Consider using the sidebar for very large schemas
Recent Items Not Showing
Problem: Recent items list is empty Solutions:- Open a few tables/views first to populate the list
- Recent items are stored per connection
- Switching connections clears the recent list for that context