[Dbix-class] Accessing $dbh for blobs/large-objects

Toby Corkindale tjc at wintrmute.net
Mon May 8 20:53:05 CEST 2006


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;

ta,
Toby

-- 
Turning and turning in the widening gyre/The falcon cannot hear the falconer;
Things fall apart, the centre cannot hold/Mere anarchy is loosed upon the world
(gpg --keyserver www.co.uk.pgp.net --recv-key B1CCF88E)



More information about the Dbix-class mailing list