Re: $dbh and CDBI::Loader
[prev]
[thread]
[next]
[Date index for 2005/04/01]
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
|
|
Re: $dbh and CDBI::Loader
Kingsley Kerce 15:04 on 01 Apr 2005
|