Scripts, history, and scratches
Three panels on the rail keep SQL and notes on your Mac. They are not sent to MoleDB. See Overview for the folder.
Scripts
Scripts are saved SQL in scripts.json. A script has a name, the SQL, and an optional connection and database. You can pin one so it stays at the top. The notice is Saved script, plus the name.
History
History is a list of console runs in query-history.json. MoleDB keeps the newest 100 runs for each connection, and the newest 400 runs across every connection. A cancelled run is left out. Other failures are kept. A stored statement is kept up to 16,384 characters.
You can delete one entry (Query deleted from history) or clear history for one connection or for all of them.
Scratches
Scratches are files in a scratches folder next to the other app data. A new scratch is a blank Scratch N.txt. You can also save text as .txt, .json, .xml, .sql, .html, or .md. HTML and Markdown can be previewed in the app. That preview stays on your Mac.
These panels open from the rail. See The workspace.