Inline Data Editing

Learn how to add, modify, and delete data directly in the result grid and apply changes to the database.

INSERT / UPDATE / DELETE Mode

Turn on the Inline Edit (pencil icon) switch in the result tab header to activate edit mode.

INSERT / UPDATE / DELETE Mode

Edit mode is only available for single-table results. The Inline Edit switch is disabled for JOIN queries or results from multiple tables.

When edit mode is enabled, the following buttons appear in the status bar:

ButtonAction
Add RowAdds an empty row below the focused row (INSERT). All values are initialized to NULL.
Duplicate RowDuplicates the focused row. PK columns are set to NULL to prevent duplicates.
Delete RowMarks the focused row for deletion (DELETE). The row is displayed with a red strikethrough.

Click a cell to directly edit its value (UPDATE). Modified cells are highlighted with a yellow background.

Change Status Indicators

Change Status Indicators
StatusDisplay
Modified cellYellow background
Added rowGreen background
Row marked for deletionRed strikethrough + light red background

ENUM Cell Editor / SET Cell Editor

A dropdown selector is automatically provided when editing MySQL/MariaDB ENUM or SET type columns.

Column TypeEditor
ENUMSingle-select dropdown. Choose one from the defined value list. A NULL option is also included.
SETMulti-select checkbox dropdown. Check multiple values to store as a comma-separated string.
TIP

PostgreSQL User-Defined Enums also use the same dropdown editor.

FK Row Lookup on Cell Click

Hovering over a cell in a Foreign Key column shows a magnifier icon. Clicking it opens a modal that queries the referenced row from the source table.

FK Row Lookup on Cell Click

Information available in the FK Detail modal:

  • All columns and values from the referenced table (PK table)
  • Type icons and remarks for each column
  • Date/time values displayed according to the configured Timezone

Click the Copy SQL button at the bottom of the modal to copy a SELECT statement for that row to the clipboard.

The FK Detail feature is only available in read mode (edit mode OFF).

Preview Changes

When there are changes in edit mode, the status bar shows a change summary (N deletes, N updates, N inserts) and a Preview Changes button.

Clicking Preview Changes opens a modal to review the SQL that will be executed:

  • DeleteDELETE FROM table WHERE pk = ...
  • UpdateUPDATE table SET col = ... WHERE pk = ...
  • InsertINSERT INTO table (cols) VALUES (...)

SQL is generated in a safe order (DELETE → UPDATE → INSERT).

Preview Changes

Preview Options

OptionDescription
CASCADEShown when DELETE statements exist. Enabling adds CASCADE to DELETE statements.
Include SchemaEnabling includes the schema name before table names (e.g., schema.table).

Click Execute in the preview modal to run the SQL, or use Copy SQL to copy it.

Batch Apply Changes

Click the Execute button in the preview modal to execute all changes (DELETE, UPDATE, INSERT) at once.

1

Edit Data in Edit Mode

Perform necessary changes such as adding rows, modifying cell values, or deleting rows.

2

Review SQL with Preview Changes

Review the SQL to be executed and verify it matches your intended changes.

3

Apply with Execute

After review, click Execute to apply changes to the database.

To cancel changes, click the Discard button in the status bar to undo all modifications.

TIP

If Auto Commit is off, you still need to Commit after Execute for final persistence. Use Rollback if there are issues.