[Catalyst] Catalyst::Model::DBIC::Schema and dbh_maker

Oleg Kostyuk cub.uanic at gmail.com
Tue Jun 15 09:49:33 GMT 2010

2010/5/25 Bill Moseley <moseley at hank.org>:
> I would like my Catalyst::Model::DBIC::Schema model class to be able to
> inspect the configuration and modify connect_info.  Specifically, based on a
> flag in the config either pass connect_info unmodified or replace
> dsn/user/password with a dbh_maker sub.

Take a look at Catalyst::TraitFor::Model::DBIC::Schema::ConnectInfo::Several

Sincerely yours,
Oleg Kostyuk (CUB-UANIC)

More information about the Catalyst mailing list