Quarry
Guides

Overview

Task-oriented guides for using Quarry.

Pick the job you want to do.

Start here

  • Getting started — install Quarry, create a typed db, run a first query, and inspect toSQL().
  • Schema introspection — bootstrap plain TypeScript Tables, Views, and DB types from an existing ClickHouse database with the experimental CLI.

Read queries

Write data

  • Inserts — batch inserts, typed target columns, and INSERT INTO ... SELECT.

Troubleshooting

  • Debugging — inspect SQL, understand common errors, and separate scope problems from runtime problems.
  • Performance — what Quarry does and does not do for query performance.

On this page