SQL Query Editor
The SQL Query Editor is a full-featured editor powered by CodeMirror, with syntax highlighting, code completion, query history, and EXPLAIN support.
Features
- Syntax highlighting — color-coded SQL for better readability
- Code completion — auto-completes table names, columns, and SQL keywords
- Query history — access previously run queries
- Query plan (EXPLAIN) — visualize how PostgreSQL executes your queries
- Result grid — view query results in a table format
- Error display — clear error messages for invalid queries
Running queries
- Open the SQL Editor from the sidebar
- Type or paste your SQL query
- Press Ctrl+Enter (or Cmd+Enter on Mac) to run
- View results in the result panel below
- Toggle Explain to see the query plan instead of the results
Query history
- Your query history is automatically saved
- Access it from the history panel
- Click any past query to re-run it
- History is stored in your browser's local storage