THE DEV BENCH
📑 TOMLmedium

5. Nested tables (dotted header)

Write a dotted table header `[database.primary]` with: • host — the string "db1" • pool — the number 10

How to approach this

A dotted header `[a.b]` nests one table inside another: `[database.primary]` puts its keys under `database` → `primary`. So `host` becomes `database.primary.host`. Dots in a header are the nesting operator.

config.toml