Re: $dbh and CDBI::Loader

[prev] [thread] [next] [Date index for 2005/04/01]

From: Kingsley Kerce
Subject: Re: $dbh and CDBI::Loader
Date: 15:04 on 01 Apr 2005
Dana Hudes writes:
 > I need to acess the functions of Postgresql via the driver. These are of 
 > the form:
 > 	$dbh->func($filename, 'lo_import');
 > 
 > I am using Class::DBI::Loader. I give it the DSN etc. . How do I get the 
 > $dbh database handle?

$dbh = $loader->find_class('table_name')->db_Main
# where $loader is a CDBI::Loader object and table_name is the name of
# a table in your schema

Kings

$dbh and CDBI::Loader
Dana Hudes 14:27 on 01 Apr 2005

Re: $dbh and CDBI::Loader
Kingsley Kerce 15:04 on 01 Apr 2005

Generated at 14:42 on 11 Apr 2005 by mariachi v0.52