Appearance
Running a query
The run bar under the editor runs the query, says where the run is, and checks a query or tidies it before it runs.
Its left end names what is in the editor: "Untitled query", or a saved query's name with a dot ● when it has unsaved changes. Its right end is one line that says where the run is.

The commands
- Run, or ⌘⏎ (Ctrl+Enter) in the editor, runs what is in the editor. If the same query already ran to completion against the same blocks, you get that result at once.
- Force re-run, or ⇧⌘⏎ (Ctrl+Shift+Enter), runs it again even then, reading the chain afresh.
- Explain checks the query against the chain without running it. The answer lands on the status line.
- Format arranges the query. See The editor.
- Cancel stops a run that is going. You can press it from the moment you press Run.
- Save and Save as… keep the query. See Saved queries.
The status line
The line at the right of the run bar says where the run is, from planning… to complete. After a run, when you change the query or press Explain, the line again shows the check of the query in the editor: planning…, then ready. When the next run starts, the line shows the run.
Four of its words need a note:
reused an earlier result: the same query, at the same blocks, already ran to completion, and you see that result. Press Force re-run to read the chain again.not run · 1 diagnostic: heto refused the query. The Diagnostics tab comes forward with the reason.check failed: heto could not check the query. The line gives the code and the reason, and the Diagnostics tab shows them too. Press Explain to check again.cancel failed: heto could not cancel the run, so the run continues. The line gives the reason. Press Cancel again.
A run that fails says why in the Results tab.
Where the page goes
When you run a query, the page's address moves to the run. So the address bar always names what is on screen:
- An untitled query's run is at
/runs/…. Bookmark it, or open it in a new tab, and you get the same run: its query and its rows. - A saved query's run is at
/q/…?run=…: the saved query, showing that run.
See also
- Results — the rows a run returns.
- Errors and diagnostics — why heto refused a query.
- Chains and costs — what a run costs during the beta.
- Long ranges and limits — what a large run is allowed to do.