Supabase Blog·
Supabase Explorer and Notebooks: Investigations Your Team Can Rerun
Explorer and Notebooks: investigations your team can rerun
Key Takeaway
Supabase introduces Explorer, a single editor for database and log queries, and Notebooks, which let teams rerun investigations. Notebooks store SQL queries and Markdown notes rather than results, so reruns return current data. Explorer is available to all projects under Feature Previews in the Supabase Dashboard.
Why It Matters
Versioning notebooks lets teams review query changes and rerun the same checks across branches without committing query results.
Technical Breakdown · Distilled from the original source
Query sources and time ranges
- In Explorer, select the database or logs as the source and write SQL against it. Results can appear as tables or charts. Each log query has its own time range, so checks for errors and slow requests can sit side by side without exporting results.
- Notebooks organize different query types into cells, with Markdown explaining how the steps fit together. Any query cell can display a chart. After a deploy, teams can rerun the same checks to see whether the numbers moved as expected.
Assistant approval and manual editing
- Supabase Assistant can draft SQL from plain language in the editor, where users can review or change it before running it. It can also write and run notebook cells or edit a specific cell in place. Every creation or edit requires approval before it is saved.
- Neither Explorer nor notebooks require the Assistant; queries and notes can be written by hand.
Version review and CLI sync
- Notebook files live in the
supabasefolder and can be versioned and reviewed in pull requests. Usesupabase notebooks pullto retrieve a notebook created in the Dashboard orsupabase notebooks pushto publish a locally written notebook to the Dashboard. - The notebook commands are available in the beta CLI. Enabling the Explorer preview replaces the SQL Editor in the Dashboard sidebar.
Source: Supabase Blog· supabase.com
PG Radar summarizes verified changes and impact. Read the original post for full technical details and code samples.