Skip to content

Running queries

Once you’re connected, you write and run queries in a query tab. This page covers the editor, the results grid, transactions, and the command palette.

← Back to the User Guide

Verql’s editor is powered by Monaco (the same engine behind VS Code), so it feels familiar: syntax highlighting, multiple cursors, find-and-replace, and so on. The language adapts to your connection — SQL for relational databases, and the appropriate language for non-SQL drivers.

As you type, the editor suggests:

  • SQL keywords for your database’s dialect
  • Table and column names pulled from the live schema of your connection

This means completions reflect your database, not a generic word list. If suggestions look stale, reconnecting refreshes the schema cache.

  • Open a new query tab with Cmd/Ctrl+N.
  • Write your query, then run it. The results appear in the grid below the editor.

You can keep several query tabs open at once, each against the same or different connections.

Query results are shown in an AG Grid table. From there you can:

Selecting a row also updates the inspector, which shows that row’s values in a readable layout.

For PostgreSQL and SQLite connections, each query tab can run inside a transaction instead of auto-committing every statement. A transaction toolbar gives you:

ControlWhat it does
Auto-commit toggleTurn auto-commit off to start running statements inside a transaction.
CommitMake the transaction’s changes permanent.
RollbackDiscard everything since the transaction began.
Isolation levelChoose the transaction’s isolation level.
Read-onlyRun the transaction in read-only mode for safe exploration.

A connection can also default to manual-commit via a per-connection Auto-commit by default setting. If you try to close a tab while a transaction is still open, Verql prompts you to commit or roll back first so you don’t lose track of pending changes.

Transaction controls are available today for PostgreSQL and SQLite. Other drivers can light up the same toolbar as they add support.

Press Cmd/Ctrl+Shift+P to open the command palette. It surfaces editor actions, app commands, and any commands added by plugins — a fast way to find a feature without hunting through menus. Start typing to filter, then press Enter to run.


Next: Exploring your schema →