History, bookmarks, and bundles
Recover previous work, save useful SQL, and automate repeatable project tasks.
Query history
Open global history with ⇧⌘H. Filter previous statements, inspect their connection context, and reopen useful SQL in a new query tab.
Bookmarks
Save the current query with ⌥⌘B and browse the library with ⇧⌘B. Only the statement under the cursor is saved, the same one Run would execute. The save sheet lets you edit the SQL before saving, and AI can suggest a name, description and keyword. Press Esc to close it. Use bookmarks for SQL you want to read and revise, not for secrets.
Run a bookmark
Hover a bookmark to copy its SQL or click Run in Editor. The query runs in your latest editor tab instead of opening a new one. Right-click for Run in New Tab. History works the same way.
Dashboards
Right-click a bookmark folder and choose Open as Dashboard to run every query in it side by side. Dashboards are a Pro feature, and free Querly includes 3 tries.
Persistent tabs
Tabs and query drafts are stored per connection and database. Closing a window or quitting Querly does not discard unfinished SQL.
Bundles
Bundles run a local shell command with the active database and table exposed as QUERLY_DB and QUERLY_TABLE. Output can open in a popup, copy to the clipboard, or create a new SQL tab.
Import bundles only from sources you trust. Review the command before running it; the size and field validation protect the file format, not the command's intent.
Passwords stay out of history
Before a query is saved to history, Querly replaces the quoted password in statements such as CREATE USER … IDENTIFIED BY '…' or ALTER ROLE … PASSWORD '…'.