Viewing Table Data
Browse Data
Scroll through rows using the scrollbar or arrow keys. The grid uses virtual scrolling for performance with large datasets.
Grid Controls
Column Operations
- Sort: Click column headers to sort ascending/descending (hold Shift to multi-sort)
- Resize: Drag the column border to adjust width
- Reorder: Drag column headers to rearrange columns
- Hide/Show: Click the column visibility button in the status bar to toggle columns
Row Selection
- Single Row: Click any row to select it
- Multiple Rows: Hold
Cmdand click to select multiple rows - Range Selection: Hold
Shiftand click to select a range - Activate Row: Double-click to view row details in the right panel
Editing Data
Inline Editing
Enable Editing
Ensure Safe Mode is disabled for the connection. Editing controls appear automatically.
Cell Types
- Text
- Numbers
- Booleans
- Dates
- JSON
Standard text input. Empty values can be set to
NULL by clearing the cell.Pending Changes Tracking
Zequel tracks all modifications before they’re committed:- Yellow Highlight: Cells with pending edits
- Green Background: New rows waiting to be inserted
- Red Background + Strikethrough: Rows marked for deletion
- Changes Count: Status bar shows total pending changes (edits + inserts + deletes)
Changes are preserved even if you switch to the Structure view or navigate away. They’re only discarded when you close the tab.
Adding Rows
Auto-Increment Columns
Primary key columns with auto-increment show
(auto). They’re populated by the database on insert.Deleting Rows
Single Row Delete
Bulk Delete
Applying and Discarding Changes
Apply Changes
Commit all pending modifications to the database:- Button: Click Apply in the status bar
- Keyboard: Press
Cmd+S - Scope: Applies all edits, inserts, and deletes in one transaction
For tables without primary keys, Zequel constructs
WHERE clauses using all column values to ensure the correct row is updated.Discard Changes
Revert all pending modifications:- Button: Click Discard in the status bar
- Keyboard: Press
Cmd+D - Effect: Removes all yellow highlights, green rows, and red strikethroughs
Undo/Redo
Quickly undo or redo individual changes:- Undo: Press
Cmd+Zto undo the last edit, insertion, or deletion - Redo: Press
Shift+Cmd+Zto redo an undone action - Granularity: Undo/redo works at the cell level for edits and row level for inserts/deletes
Copy and Paste
Copy Cell Values
Paste Rows from Clipboard
Import data from spreadsheets:Pasted data supports both tab-separated (TSV) and comma-separated (CSV) formats. Headers must match table column names.
Foreign Key Navigation
Navigate relationships between tables:
Example: In an
orders table, click the → next to customer_id to open the customers table filtered to that customer.
Filtering Data
Add Filters
Multiple Filters
Add multiple filters to narrow results:- Filters combine with
ANDlogic - Click + Add Filter to add more conditions
- Remove filters individually with the × button
Clear Filters
Click Clear Filters to remove all active filters and show all rows.Pagination
Navigate large tables efficiently:- Page Size: Set in Settings → Grid Settings (default: 1,000 rows)
- Navigation: Use the status bar arrows to move between pages
- Jump to Page: Click the page indicator to jump to a specific page
- Total Count: The status bar shows total rows (e.g., “1-1000 of 50,000”)
Changing the page size in Settings applies immediately and adjusts pagination.
Exporting Data
Export Current Page
Export only the rows currently visible:Export Full Table
Export all rows (not just the current page):Context Menu
Right-click on any cell or row for quick actions:- Copy: Copy cell value to clipboard
- Copy Row: Copy entire row (tab-separated)
- View Cell: Open large values in a popup viewer
- Edit Cell: Start editing (same as double-click)
- Delete Row: Mark row for deletion
- Navigate FK: Jump to referenced table (if applicable)
- Export Page: Export current page data
Keyboard Shortcuts
| Shortcut | Action |
|---|---|
Enter | Start editing cell |
Tab | Move to next cell |
Shift+Tab | Move to previous cell |
Cmd+S | Apply changes |
Cmd+D | Discard changes |
Cmd+Z | Undo |
Shift+Cmd+Z | Redo |
Cmd+C | Copy cell/row |
Cmd+V | Paste rows |
Cmd+N | Add new row |
Delete | Delete selected row(s) |
Cmd+F | Open filter panel |
Best Practices
Review Before Applying
Review Before Applying
Always review pending changes (yellow/green/red highlights) before clicking Apply. Changes are permanent.
Use Filters for Large Tables
Use Filters for Large Tables
Apply filters before editing large tables to reduce the data loaded into the grid.
Batch Operations
Batch Operations
Make multiple edits, then click Apply once to commit them all in a single transaction.
Foreign Key Constraints
Foreign Key Constraints
Be aware of foreign key constraints when deleting rows. Deletes may fail if referenced by other tables.