[Catalyst] multiple database model support
Matt S Trout
dbix-class at trout.me.uk
Mon Mar 10 17:11:15 GMT 2008
On Tue, Feb 26, 2008 at 03:41:43PM -0700, Tyler Bird wrote:
> hi
>
> I just developed a catalyst application
> and I was wondering how I could get it to support multiple databases.
>
> Instead of just one per application.
Each C::M::DBIC::Schema represents a single connection to a single
DBIx::Class::Schema.
You can create as many of them as you like.
DBIx::Class was designed from the ground up to support N connections via
the same classes.
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Director http://www.shadowcat.co.uk/catalyst/
Shadowcat Systems Ltd. Want a managed development or deployment platform?
http://chainsawblues.vox.com/ http://www.shadowcat.co.uk/servers/
More information about the Catalyst
mailing list