On Mon, Aug 15, 2005 at 05:45:48PM +0200, H.Merijn Brand wrote:
> On Mon, 15 Aug 2005 15:12:21 +0200, "H.Merijn Brand" <[EMAIL PROTECTED]>
> wrote:
> 
> > I'm in the process of trying to have foreign_key_info () implemented on
> > DBD::Unify, and replacing DBD::Unify::db::link_info () with the correct
> > equivalent
> 
> I managed to get the needed data, but I have different hash key/field names
> 
> Oracle:
> 
> $VAR1 = \{
>             'update_rule' => '3',
>             'fk_table_name' => 'LEERLING',
> 
> Unify:
> 
> $VAR1 = \{
>             'REFERENCED_TABLE' => 'straat',
>             'REFERENCED_OWNER' => 'PROLEP',
> 
> is there a way to make it comply to the documented fields in DBI?
> FWIW Unify does not support field renaming/aliasing in the select statement,
> so the only alternative I can think of is a view, which would alter the
> database, and that is not something to aim for.

Fetch and mung the data to your needs then use DBD::Sponge to provide a
$sth interface to the in-memory rows.

Tim.

Reply via email to