MoleDB Help

Edit data

Open a table to edit its rows in the grid. Changes stay on the grid until you review them. Nothing is sent until you confirm.

Pending edits

  • Add row stages a new row as an INSERT.
  • Edit a cell to stage an UPDATE. Clear the cell, or type null, to store NULL. Opening a cell and leaving it unchanged does not stage an edit.
  • Revert throws away pending cell edits and staged deletes. It is disabled when nothing is pending.
  • Commit, with the pending count in the label, opens Review commit.

While edits are pending, the WHERE bar stays off until you commit or revert. The message is Commit or revert pending edits first.

A table with no primary key can still be committed. The commit then matches on the original column values, and MoleDB warns that the statement may match more than one row.

Review commit

The dialog lists the statements. Nothing is sent to the database until you confirm. Cancel closes it and keeps the pending edits. Execute runs the statements.

On a data source marked Production, the dialog shows a Production badge and says This commit runs against production.

If the run succeeds, a notice reports how many rows were affected, such as 1 row affected. If it fails and the rollback was confirmed, the pending edits are unchanged and can be retried. If rollback could not be confirmed, reload the table before trying again. The pending edits are kept, but they are unverified.

Filter rows and Import CSV or Excel use the same grid and the same review step. Safety is what asks you to confirm a write before it runs.