[Catalyst] Where and how to access database
Stephan Austermühle
au at hcsd.de
Wed Mar 21 13:29:21 GMT 2007
Hi,
> my $dbh = $c->model( 'MyModel' )->schema->storage->dbh;
Thanks! Am I right with that this will work in Controllers only?
Regards, Stephan
More information about the Catalyst
mailing list