in reply to [DBIx::Class] Can I extract $dbhandle from schema?
I belive you can access the $dbh via the Storage class:
my $dbh = $self->schema->storage->dbh;
--
"Go up to the next female stranger you see and tell her that her "body is a wonderland."
My hypothesis is that she’ll be too busy laughing at you to even bother slapping you." (src)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: [DBIx::Class] Can I extract $dbhandle from schema?
by dreel (Sexton) on Aug 21, 2007 at 12:41 UTC | |
by CountZero (Bishop) on Aug 21, 2007 at 14:29 UTC | |
by Your Mother (Archbishop) on Jul 16, 2018 at 21:16 UTC | |
by wtgee (Initiate) on Aug 21, 2007 at 17:16 UTC | |
by CountZero (Bishop) on Aug 21, 2007 at 21:29 UTC | |
by Anonymous Monk on Aug 21, 2007 at 17:13 UTC |
In Section
Seekers of Perl Wisdom