Stratabase

// docs

Documentation written by people who read the source.

From a five-line quickstart to the page-index pushdown internals. No marketing in the docs.

quickstart.rsrust
use stratabase::Db;

let db = Db::open_in_memory()?;
db.register_parquet("events", "data/events.parquet")?;

let rows = db.query(
    "SELECT region, count(*) AS n
     FROM events
     WHERE ts > now() - INTERVAL '1 hour'
     GROUP BY region ORDER BY n DESC"
)?;

println!("{rows:#?}");

// five lines to first result

Open a database, register a Parquet file as a table, and run vectorized SQL. There is no connection string and no server to start — the database lives inside your process for as long as the handle is in scope.

Every example in the docs is a real, compiling snippet pulled from the test suite. If a snippet drifts from the API, CI fails.