Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: quicknode/cli
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: quicknode/cli
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: dx-5839-cli-add-sql-explorer
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 1 commit
  • 13 files changed
  • 1 contributor

Commits on Jun 25, 2026

  1. feat(sql): add qn sql for SQL Explorer queries and schema (DX-5876)

    Wraps the new quicknode-sdk 0.5 `sql` sub-client as two verbs:
    
    - `qn sql query` runs a read-only query against a cluster. The SQL is
      passed inline, via `--file <path>`, or from stdin with `--file -`
      (mutually exclusive, exactly one required). Rows render to stdout
      (headers from the response `meta`, scalars unquoted, null as `—`,
      nested values as compact JSON); query stats print to stderr as a note
      with a truncation hint when the 1000-row cap is hit. Does not
      auto-retry: a query consumes credits, so a retried query re-bills.
    - `qn sql schema <CLUSTER_ID>` prints each table as a block (engine,
      row count, partition/sorting keys, and a COLUMN/TYPE sub-table).
      Retries like other reads.
    
    Bumps quicknode-sdk to 0.5 and routes the SQL base path under the
    `--base-url` override so integration tests hit the mock, not production.
    Updates the README and the embedded agent context catalog.
    johnpmitsch committed Jun 25, 2026
    Configuration menu
    Copy the full SHA
    bcbedc3 View commit details
    Browse the repository at this point in the history
Loading