Skip to content

Driver List Reference

dbc.toml is the default filename dbc uses for a driver list. This page outlines the structure of that file.

This file uses the TOML file format and contains a single TOML Table called "drivers". Each driver must have a name and may optionally have a version constraint. See Version Constraints to learn how to specify version constraints.

Example

The following driver list specifies:

  • Whatever is the latest version of the "mysql" driver
  • The exact 1.4.0 version of the "duckdb" driver
  • The latest version in the 1.x.x major series for the "postgresql" driver.
[drivers]

[drivers.mysql]

[drivers.duckdb]
version = '=1.4.0'

[drivers.postgresql]
version = '=1.x.x'