Minimum Config File#

This file shows the bare minimum you need to run a report.

---
tables_config:
  products:
    - path: "products.csv"

output:
  dir: output
  basename: mwe

queries:
  - name: "Names"
    sql: >
      SELECT name
      FROM products
      ;

Actually, if you set a value for export_tables, you can even run a report with no queries. Sometimes it’s useful to collect multiple sources into a single CSV.

Most of the time, though, you’ll probably want more options.