SqlOtter

Browse and edit table data / Edit records

Edit an existing record's value

Edit inline, use Shift + left double-click for enhanced editing, or use Command/Ctrl + left double-click for the full field editor. Accepting an existing-record edit can submit its update.

Where to open it

Table Content → an editable cell: left double-click, Shift + left double-click, or Command (macOS) / Ctrl (Windows/Linux) + left double-click.

Default shortcuts

Accepting an existing-record edit can write immediately; Ctrl+S is primarily the explicit save for pending new records.

Default shortcuts
ActionWindows / LinuxmacOSFocus and effect
Open the current cell editorEnterEnterFocus the editable grid cell; use the same field-routing path as a double-click.
Normal editing or automatic field routingLeft double-clickLeft double-clickOrdinary editable fields enter inline editing; complex or incomplete fields can open a specialized editor.
Force the enhanced field editorShift + left double-clickShift + left double-clickOpen the enhanced field-tip/editor for a supported ordinary field; accepting an existing-row edit may update the database immediately.
Force the full field editorCtrl + left double-click⌘ + left double-clickOpen the full field editor; write access still depends on the field, row identity, and view.
Request the full field valueCtrl+Alt + left double-click⌘+⌥ + left double-clickFor an existing row with a complete key, force the full-value read path, which may query the database; pending new rows skip that read.
Smart RefreshCtrl+Shift+R⌘+Shift+RRefresh selected records when supported; no selection or missing row identity can fall back to a full refresh.
Refresh the current tableCtrl+R⌘+RActs on the current table; the active view, paging, and conditions affect reload scope.
Accept or cancel a field dialogNo dedicated defaultNo dedicated defaultUse the editor’s accept/cancel controls; keyboard behavior varies by editor. Accepting an existing-row edit can immediately submit an update.
  • Settings → Shortcuts shows configurable bindings; customized keys take precedence. Fixed dialog keys and mouse gestures may be managed by their own controls.
  • On macOS, ⌘ means Command and ⌥ means Option. Function keys may require Fn. Delete means forward delete (often Fn+⌫ on a compact Mac keyboard); use the menu when Insert is unavailable.

Before you start

Use Table Content with write permission, loaded field metadata, and a usable record key. Rehearse with disposable demo records. The captured example is the owner's MySQL table and does not establish every engine's editing behavior.

Follow these steps

  1. Confirm the connection, database/schema, table, record key, and field. The three editor-entry captures use code = 222 on id 195; the later update and readback captures use id 190 in the same table, new_table7_copy1_copy2_copy1. All show page 2 with page size 100.
  2. Choose one of the three editing paths below. Field type, value length, and field-tip settings can choose an editor automatically.
  3. Review the new value before accepting it. An inline commit or a dialog's OK can submit an existing-record update; use Escape in the inline editor or Cancel in a dialog to discard a draft.
  4. Wait for success or error feedback. To check persistence, reload the table and find the same record by its key, then compare the stored value.

1. Normal edit

Left double-click an ordinary editable cell to edit in the grid. The first capture shows the code cell on id 195 with its current text 222 selected.

SqlOtter inline editor on code for id 195 in new_table7_copy1_copy2_copy1: text 222 selected in the first visible row on page 2, page size 100, and 295 Rows.
Normal editing in the grid: the code cell for id 195 contains 222, with the text selected. Page 2, page size 100, and 295 Rows remain visible. This capture shows editing before a change is accepted. Historical screenshot; UI icons have been updated.
  1. Left double-click the intended code cell. For short ordinary values, the inline editor opens when enhanced field-tip editing is not selected by your settings.
  2. Replace the selected text with the intended value and check the record key before committing.
  3. Press Enter to commit; leaving the inline editor can also commit. Use Escape before committing to cancel the draft.
  • Ordinary double-click follows your field-tip preference. Enhanced field tips can open the second editor without Shift; the automatic full-editor rules below can open the third.

2. Enhanced field editing

Hold Shift and left double-click to force Field Edit - Enhanced Mode for an ordinary field. Its editor and field-information table stay together.

Complete Field Edit - Enhanced Mode dialog for code: text 222, Text Mode, 3 bytes, right-side metadata showing varchar(32), length 32, Nullable No, Primary Key No, comment 编码, and Cancel / OK.
Shift + left double-click opens Field Edit - Enhanced Mode. The complete dialog keeps the value 222 beside code field metadata, including varchar(32), length 32, and Nullable No. Cancel / OK are visible; no successful update is shown. Historical screenshot; UI icons have been updated.
  1. Hold Shift while left double-clicking code. The capture shows Input Value for Field 'code': and the current text 222.
  2. Review the right-hand metadata: code, varchar(32), length 32, Nullable No, Primary Key No, and comment 编码. Edit the value on the left.
  3. Choose OK to accept or Cancel to discard. Accepting an existing-record value can submit the database update.
  • Shift forces enhanced mode even if field tips are disabled. Fields requiring the full editor take precedence over this path.
  • The screenshot is single-cell editing, with Text Mode, 3 bytes, and Cancel / OK visible. It is not the Batch Edit Column Value dialog.

3. Full field editor

Hold Command on macOS, or Ctrl on Windows/Linux, and left double-click to open the full field editor. It also edits ordinary text; the third capture uses code in Text Mode.

Complete Edit Field window for code VARCHAR(32), Nullable No, in new_table7_copy1_copy2_copy1: text 222, Text Mode, 3 bytes, Edit Mode dropdown, checked Auto Format, and Cancel / OK.
Command/Ctrl + left double-click opens the full field editor. This code value is ordinary text: 222 in Text Mode, with Auto Format checked and Cancel / OK visible. The dialog is complete; it shows no accepted change or saved result. Historical screenshot; UI icons have been updated.
  1. Hold Command/Ctrl and left double-click the intended cell. Check the field and table in the Edit Field title before changing its contents.
  2. Edit the value in the main area. The capture shows 222, Text Mode, 3 bytes, an Edit Mode selector, and Auto Format checked. Available modes depend on the field and entry path.
  3. Choose OK to return the reviewed value to the table update path, or Cancel to discard. Wait for the database response before treating the update as successful.
  • The captured code field remains VARCHAR(32), Nullable No. Text Mode here is not JSON Mode and does not imply that the database column has JSON type.
  • The same editor supplies type-specific JSON, XML, BLOB, and spatial views; it can also open automatically as described below.

When the full editor opens automatically

Some fields and values need a detailed editor even with an ordinary left double-click. These rules are checked before the enhanced or inline paths.

  1. Recognized JSON, BLOB/binary, XML, and spatial fields open the full field editor in a suitable mode. JSON, XML, BLOB, and geometry use their corresponding initial modes.
  2. Long text beyond the grid's display limit and values marked as truncated also open the full editor. Some engine-specific fields use a detail editor selected for that field.
  3. Check the field name, mode, and loaded value before editing. A preview or truncated grid string may require the full value to be retrieved; if loading fails, resolve it before accepting a change.
  • Automatic selection depends on loaded field metadata and value state, not a filename or a guess based only on the visible text. These three code captures show manual entry paths; they do not demonstrate every automatic type/mode.
  • See the Edit rich field values guide and Rich field values and previews topic for the existing BLOB and document-preview examples.

Check the update result

After accepting an edit, read the database feedback. This capture shows code = 22233444 on id 190 and reports one affected row.

SqlOtter table new_table7_copy1_copy2_copy1 on page 2, page size 100, 295 Rows: id 190 is outlined in the sixth row and its code value is 22233444.
Update result in the grid: id 190 / code = 22233444. The full feedback from the same original is shown separately below. Historical screenshot; UI icons have been updated.
SqlOtter success toast: Update the number of rows affected (1): new_table7_copy1_copy2_copy1.code = 22233444.
The complete toast reports one affected row and code = 22233444. This is update feedback; it is separate from the pager total and later readback. Historical screenshot; UI icons have been updated.
  1. Check the record key and field in the grid. Here, id 190 is the sixth row on page 2, and code contains 22233444.
  2. Read the actual feedback: Update the number of rows affected (1): new_table7_copy1_copy2_copy1.code = 22233444. The count describes the update, while 295 Rows in the pager describes the table total.
  3. Re-read the same record to check the stored value. If the affected count is unexpected or an error appears, inspect the message and record identity before retrying.
  • The result capture does not show which editing path was used. It uses id 190, while the three editor-entry captures use id 195.
  • The later readback image contains a different code value, Test Edit Cell. Treat it as a separate state rather than confirmation that 22233444 survived a reload.

Re-read the edited record

The later capture shows id 190 selected with code = Test Edit Cell. Its execution history contains edit_record followed by smart_refresh, and the selected query targets id 190.

SqlOtter later table capture on page 2: selected sixth row id 190 with code Test Edit Cell, page size 100, 295 Rows, and Snapshot · 3h 41m.
The later value on id 190 is Test Edit Cell. It differs from 22233444 in the earlier update capture; this is a separate value state. Historical screenshot; UI icons have been updated.
Source Action column from the later execution history, with smart_refresh selected above edit_record.
The history shows edit_record followed by smart_refresh. The original places the edit one second before the refresh.
Tail of the selected refresh SELECT, showing FROM d1.new_table7_copy1_copy2_copy1 and WHERE id IN ('190').
A separate crop preserves the refresh query target: the same table with WHERE id IN ('190'). This is the query tail, not the complete SQL statement.
SqlOtter status message: Refreshed completed, time-consuming 367.74 ms.
The same later capture reports refresh completion in 367.74 ms. This reports the refresh, not an additional UPDATE or a general performance benchmark. Historical screenshot; UI icons have been updated.
  1. After accepting a value, refresh or reload the same record and locate it by its key. A refresh triggered after editing can also read the row again.
  2. Compare the returned field value with the value you accepted. The later capture shows Test Edit Cell on id 190; it is not the earlier 22233444 result.
  3. Check the refresh target and completion feedback. The visible SELECT ends with WHERE id IN ('190'), and the status reads Refreshed completed, time-consuming 367.74 ms.
  • The history and SELECT support a database readback for id 190. The image does not establish whether refresh was automatic or manually initiated, or a separate full-page reload.
  • Snapshot · 3h 40m / 3h 41m describes the displayed snapshot age. A record refresh can leave that page label in place; use the record key, value, query, and completion feedback for this check.
  • The 367.74 ms message is one captured refresh duration, not a performance guarantee. The editing path and cancel/error behavior are not shown by these result images.

Example

Left double-click           → normal editing
Shift + left double-click   → enhanced field editing
Command/Ctrl + double-click → full field editor

Editor-entry captures: id 195 / code = 222
Update capture:        id 190 / code = 22233444
Database feedback:     1 affected row
Later readback:        id 190 / code = Test Edit Cell

The two result values are separate states.

What to expect

An accepted existing-record edit returns database feedback; check its affected-row count and re-read the same record key. The update capture shows id 190 / code = 22233444 with one affected row. A later capture shows id 190 / code = Test Edit Cell with edit_record and smart_refresh history and a SELECT for id 190. These are separate value states: the later image does not verify persistence of 22233444. The three earlier editor-entry images show id 195 / code = 222 before acceptance.

Scope and limits

  • All three entries edit a single identified cell. The enhanced editor uses a field-information layout also used by other tools; opening it here does not select a batch update.
  • The demo uses a non-key code field: varchar(32), length 32, Nullable No, Primary Key No. Write permission, usable row identity, type validation, and database constraints still determine whether an update succeeds.
  • The full field editor is also used for JSON and BLOB values, but it is not restricted to those types. Opening the varchar code value in Text Mode does not convert the database column into JSON.
  • SQL editor result cells use read-only field inspection. Dropdown/enum cells and engine-specific fields can use different controls; a modifier does not grant write permission.
  • Newly added records have a separate explicit-save lifecycle. Existing-record edits can write when accepted; do not expect a later table-wide Save to be required.
  • Loaded · 16m or Loaded · 17m describes the age of the loaded table data, not how long the editor has been open or the duration of an update.
  • Escape cancels/closes current unaccepted inline input; a separate enhanced editor handles its own search, selection, two-press exit and unsaved-change confirmation. See “Escape: editing, selection and exit layers”.

If something goes wrong

  • If ordinary double-click opens a different editor, check whether the field requires the full editor or whether enhanced field tips are enabled. Use the path described for that editor.
  • If Shift opens the full editor, the field type or long/truncated value takes precedence. Command/Ctrl selects the full editor for supported ordinary fields; untruncated enum fields use their own control.
  • If the write fails, read the database message and check row identity, permissions, length, NULL rules, and other constraints. If the outcome is uncertain, reload the record before retrying.