Quarry

Build an analytics query

Start with working data, see the SQL, and reuse the query in your application.

Quarry adds typed query composition to your existing @clickhouse/client. Table names, filters, and selected columns determine the inputs you can pass and the result rows you receive.

Start with a working example

Just exploring? Open the playground to inspect generated SQL without a database.

Build something useful

Every recipe uses the quickstart's schema and seed data. Its query code comes from the runnable example, and CI checks its SQL and expected results against ClickHouse.

Find an answer

Know which version you are using

Quarry is pre-1.0. Minor releases may change the API with a changelog entry; patch releases preserve it. These docs cover Quarry 0.10.0. Release guidance identifies the differences and explains how to run matching examples.

On this page