NAME
DBIx::DataModel::ConnectedSource - metasource and schema paired together
DESCRIPTION
A connected source is a pair of a $meta_source
and and a $schema
. The meta_source holds information about the data structure, and the schema holds a connection to the database.
Connected sources are used mainly in multi-schema mode, for implementing calls such as
$schema->table($table_name)->select(...);
$schema->join(qw/Table path1 path2 .../)->select(...);
METHODS
Methods are documented in "CONNECTED SOURCES" in DBIx::DataModel::Doc::Reference Most methods are just delegated calls to $meta_source->class
, passing along a reference to $schema
through a fake object
Constructor
new
my $connected_source
= DBIx::DataModel::ConnectedSource->new($meta_source, $schema);