19 lines
623 B
Markdown
19 lines
623 B
Markdown
## Query Plan Viewer
|
|
|
|
A static HTML viewer for `plan-runner` JSON files (the fixtures).
|
|
|
|
### Usage
|
|
|
|
Open [`index.html`](index.html) in a browser, then drop a JSON file from [`crates/plan-runner/fixtures/`](../../crates/plan-runner/fixtures) onto the page.
|
|
|
|
Alternatively, you can run the commands below to serve the viewer locally:
|
|
|
|
```sh
|
|
make shell # Go into the Nix shells
|
|
make viewer
|
|
```
|
|
|
|
Then open the following URL in your browser (replace `two_atom_join.json` with the name of the plan you want to view)
|
|
|
|
http://localhost:8000/tools/plan-viewer/index.html?fixture=../../crates/plan-runner/fixtures/two_atom_join.json
|