History & Saved Queries
Recall anything you've run and pin the queries you use every day.
Query history
Every Run (via the query editor) is recorded with:
- Timestamp
- Connection + database + schema
- SQL text
duration_msandrow_countsuccessflag + error message if any
Browse the list from the sidebar's History tab. Click an entry to load its SQL back into the editor.
Retention
The newest 500 entries per connection are kept. Older rows are pruned automatically.
Saved queries
A pinned query with a name and optional description. Saved independently of history — survives across sessions.
Save
In the query editor → Save button. Pick a name; optional description and per-query database / schema.
Use
Saved queries appear in the sidebar. Click to load into the editor and run against the current connection.
AI conversations
AI chats are saved as conversations with messages, plus optional table-level conversations that track which tables you discussed. Delete a conversation to cascade-delete its messages.
Per-connection vs split
AI chats can live in the sidebar panel (per-connection) or the split view (alongside the editor). The origin field tracks which.