
Catalyst::TraitFor::Model::DBIC::ConfigPerSite - Extend Catalyst DBIC Model to work with multiple DB connections

package MyApp::Model::DBIC;
use Moose;
extends 'Catalyst::Model::DBIC::Schema';
with qw(Catalyst::TraitFor::Model::DBIC::ConfigPerSite);

This Role or Trait allows you to share an application between sites, clients, etc with different configuration for databases. It extends Catalyst DBIC Model to work with multiple DB connections, one per site or configuration.


Catalyst::Component::InstancePerContext

Aaron Trevena, <aaron@aarontrevena.co.uk>

Copyright (C) 2010 by Aaron Trevena
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.