[Dbix-class] Configuration query - Catalyst::Model::DBIC::Schema
Charlie Garrison
garrison at zeta.org.au
Mon Jul 28 14:17:09 BST 2008
Good evening,
On 28/7/08 at 12:41 PM +0100, Dermot <paikkos at googlemail.com> wrote:
>I can't seem to find to a way to configure my connect_info or use the
>values from my Cataylst conf file which reads
>
><connect_info>
> driver dbi:SQLite
> file __HOME__/motion.db
></connect_info>
>
>Is there way to use the values from my conf file or a variable that
>will refer to the Cataylst root dir that DBIC::Schema will be aware
>of?
I think you're looking for:
<Model::DBIC>
connect_info dbi:SQLite:__HOME__/motion.db
</Model::DBIC>
Change Model::DBIC to match the name of your model.
Charlie
--
Charlie Garrison <garrison at zeta.org.au>
PO Box 141, Windsor, NSW 2756, Australia
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
http://www.ietf.org/rfc/rfc1855.txt
More information about the DBIx-Class
mailing list