Class::DBI::Loader automates the definition of Class::DBI sub-classes. It scans database schemas to set up tables, columns, and primary keys. Class names are defined by table names and namespace option. It currently supports MySQL, Postgres and SQLite.