Skip to content

Connections

Each dashboard’s connections.yaml declares the data sources it reads. PlotPress ships drivers for the most common SQL and document stores, plus DuckDB-backed access to S3.

DriverBest forPage
filesCSV / JSON / Parquet files on disk — the simplest startFiles
duckdbLocal analytics over files + DuckDB databasesDuckDB
postgresOLTP databases, warehouse replicasPostgreSQL
mysqlMySQL 8.xMySQL
mariadbMariaDB 10.x+MariaDB
clickhouseEvent analytics, wide tablesClickHouse
mongodbDocument collections, app DBsMongoDB
s3Parquet / CSV in object storage (via DuckDB)S3

Every driver page documents the same default: a Plot block references a view (or its driver-specific equivalent) exposed by the database.

Plot.barY(data, { x: "month", y: "revenue" })

The dashboard team owns monthly_revenue in the database. The view’s name, columns, and types are the contract; the dashboard never re-derives them.

When the database doesn’t expose a fitting view, drop a SQL file in the dashboard’s queries/ folder and reference it with query=. Treat it as a workaround — see Authoring → Queries as fallback.

Each driver page below has a “Fallback example” section showing the driver-specific shape (Postgres uses :name, ClickHouse uses {name:Type}, MongoDB uses an aggregation pipeline file, etc.).

Every page follows the same structure:

  1. DSN format — what to put in connections.yaml.
  2. Authentication — where to source the password / token.
  3. Views (primary) — what counts as a view in this driver.
  4. Fallback (queries/) — driver-specific bind syntax, parameter handling.
  5. Caveats — read-only enforcement, type quirks, pool tuning.