On Tue, Oct 01, 2002 at 05:03:04PM -0700, Michael A Chase wrote:
> On Tue, 1 Oct 2002 14:41:53 -0700 Henri Asseily <[EMAIL PROTECTED]> wrote:
>
> > I have an $sth being passed to a function. I want to get access to its
> > $dbh, from within that function, but the $dbh isn't passed as a
> > parameter.
>
> >From DBI-1.30/Changes:
>
> =head2 Changes in DBI 1.16, 30th May 2001
>
> . . .
> Fixed $dbh->{Driver} & $sth->{Database} to return 'outer' handles.
>
> Driver is documented in DBI.pm, but Database is not.
I've added docs for the next release:
=item C<Database> (dbh, read-only)
Returns the parent $dbh of the statement handle.
Thanks.
Tim.