NAME

Class::DBI::Loader::Generic - Generic Class::DBI::Loader Implementation.

SYNOPSIS

See Class::DBI::Loader

DESCRIPTION

OPTIONS

Available constructor options are:

additional_base_classes

List of additional base classes your table classes will use.

additional_classes

List of additional classes which your table classes will use.

constraint

Only load tables matching regex.

debug

Enable debug messages.

dsn

DBI Data Source Name.

namespace

Namespace under which your table classes will be initialized.

password

Password.

relationships

Try to automatically detect/setup has_a and has_many relationships.

user

Username.

METHODS

find_class

Returns a tables class.

my $class = $loader->find_class($table);

classes

Returns a sorted list of classes.

my $@classes = $loader->classes;

debug

Overload to enable debug messages.

tables

Returns a sorted list of tables.

my @tables = $loader->tables;

SEE ALSO

Class::DBI::Loader, Class::DBI::Loader::mysql, Class::DBI::Loader::Pg, Class::DBI::Loader::SQLite

1 POD Error

The following errors were encountered while parsing the POD:

Around line 60:

Unknown directive: =head