NAME
DBIx::Class::Loader::Generic - Generic DBIx::Class::Loader Implementation.
SYNOPSIS
DESCRIPTION
OPTIONS
Available constructor options are:
additional_base_classes
List of additional base classes your table classes will use.
left_base_classes
List of additional base classes, that need to be leftmost.
additional_classes
List of additional classes which your table classes will use.
constraint
Only load tables matching regex.
exclude
Exclude 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.
inflect
An hashref, which contains exceptions to Lingua::EN::Inflect::PL(). Useful for foreign language column names.
user
Username.
METHODS
new
Not intended to be called directly. This is used internally by the new()
method in DBIx::Class::Loader.
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;