Documentation Index
Fetch the complete documentation index at: https://docs.tablepro.app/llms.txt
Use this file to discover all available pages before exploring further.
Change Tracking
Changes in TablePro are queued in memory, not applied immediately. Edit cells, insert rows, delete rows, then review everything before committing. Nothing touches the database until you say so.Data Changes
TablePro tracks three types of data changes: cell edits, row insertions, and row deletions.Editing Cells
Double-click any cell to edit (see Data Grid). Changes queue immediately.Changing a value back to its original automatically removes it from the queue.
Adding Rows
To insert a new row:- Click the + button in the toolbar or use the keyboard shortcut
- A new row appears at the bottom of the data grid, marked with an insertion indicator
- Fill in the values for each column
- Columns with default values are pre-filled with
DEFAULT


Deleting Rows
Select rows and pressDelete. Deleted rows show a strikethrough indicator and stay visible until commit or discard.


Commit & Discard
Committing Changes
Click Commit or pressCmd+S. TablePro generates parameterized SQL, executes it, clears the queue, and refreshes the grid.
Generated SQL:
| Change Type | SQL Generated |
|---|---|
| Cell edit | UPDATE ... SET column = ? WHERE pk = ? |
| Row insertion | INSERT INTO ... (columns) VALUES (?) |
| Row deletion | DELETE FROM ... WHERE pk = ? |
UPDATE statements require a primary key on the table. If no primary key is defined, TablePro shows an error when you try to commit updates. DELETE statements can work without a primary key by matching all column values.
Discarding Changes
Click Discard to revert all pending changes and clear the undo/redo stack.Previewing Data SQL
Click the Preview SQL button (eye icon) or pressCmd+Shift+P to see the exact SQL before committing. Use Copy All to copy to clipboard.


Undo & Redo
| Action | Shortcut |
|---|---|
| Undo | Cmd+Z |
| Redo | Cmd+Shift+Z |
Schema Changes
Table structure changes (columns, indexes, foreign keys) use the same queue-based approach.Tracked Schema Operations
| Operation | What Is Tracked |
|---|---|
| Add column | New column definition (name, type, nullable, default, etc.) |
| Modify column | Old and new column definitions |
| Delete column | Column marked for removal |
| Add index | New index definition (name, columns, type, uniqueness) |
| Modify index | Old and new index definitions |
| Delete index | Index marked for removal |
| Add foreign key | New FK definition (columns, references, actions) |
| Modify foreign key | Old and new FK definitions |
| Delete foreign key | FK marked for removal |
| Modify primary key | Old and new primary key columns |
Visual Indicators
- New items: highlighted with an insertion color
- Modified items: changed fields are marked
- Deleted items: shown with a deletion indicator


Previewing Schema SQL
Before applying schema changes, preview the generated SQL: Make your changes in the Structure tab, then click Commit (Cmd+S). A preview sheet shows the ALTER TABLE statements. Click Apply Changes to execute or Cancel to go back.


SQL Generation
Data changes use parameterized statements. Schema changes produce database-specific ALTER TABLE statements:- MySQL/MariaDB
- PostgreSQL
- SQLite
