[Dbix-class] RFC: DBIx::Class 0.05 Schemas + Catalyst?

Florian Ragwitz rafl at debian.org
Fri Apr 7 09:12:52 CEST 2006


On Tue, Jan 31, 2006 at 10:54:26AM -0600, Brandon Black wrote:
> Thoughts on all of this, anyone?

I'd like to suggest a storage method.

  sub storage { shift->schema->storage(@_); }

This would make it possible to use Catalyst::Model::DBIC::Schema with
Catalyst::Plugin::Session::Store::DBI, which basically does

  eval { $dbh = $class->storage->dbh };

to get the dbh to work with later. Unfortunately this will currently
fail with Catalyst::Model::DBIC::Schema as
Catalyst::Plugin::Session::Store::DBI won't be able to get a dbh.


Cheers,
Flo

-- 
BOFH excuse #202:
kernel panic: write-only-memory (/dev/wom0) capacity exceeded.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.rawmode.org/pipermail/dbix-class/attachments/20060407/fb804f79/attachment.pgp 


More information about the Dbix-class mailing list