[Dbix-class] retrieve_from_sql
    Matt S Trout 
    dbix-class at trout.me.uk
       
    Mon Oct 17 23:29:40 CEST 2005
    
    
  
On Mon, Oct 17, 2005 at 11:04:28PM +0200, Krzysztof Krzyzaniak wrote:
> BTW. Maybe there is possibility to use "ra
I was assuming you wanted full DBIx::Class objects back.
If you just want to get at the $dbh it's already available as $storage->dbh
(provide you're using ::Storage::DBI, which is currently the only one but
may not be forever).
So
my $sth = MyClass->storage->dbh->prepare(...);
-- 
     Matt S Trout       Specialists in perl consulting, web development, and
  Technical Director    UNIX/Linux systems architecture and automation. Mail
Shadowcat Systems Ltd.  mst (at) shadowcatsystems.co.uk for more information
 + Help us build a better perl ORM: http://dbix-class.shadowcatsystems.co.uk/ +
    
    
More information about the Dbix-class
mailing list