[Dbix-class] Accessing $dbh for blobs/large-objects
Matt S Trout
dbix-class at trout.me.uk
Mon May 8 21:23:10 CEST 2006
Toby Corkindale wrote:
> Hi,
> I'm trying to do some work with large objects (blobs) in PostgreSQL, via a
> DBIx::Class::Schema-based database.
> Is this the correct way to get at the $dbh to use?
> my $dbh = $c->model('DB')->schema->storage->_dbh;
No, ->dbh is the method you'd want.
More importantly, why do you need to get at the dbh for this anyway?
More information about the Dbix-class
mailing list