Michael A Chase wrote:
Quoting Daniel Kasak <[EMAIL PROTECTED]>:
Hi all.
I'm writing some code that needs to be able to figure out what DBD
driver is working with a current database *handle* ( so I can take
advantage of more advanced features of some drivers ).
How do I do that?
From DBI.pm:
====
Driver (handle)
Holds the handle of the parent driver. The only recommended use for this is to
find the name of the driver using:
$dbh->{Driver}->{Name}
====
--
Mac :})
Aha!
Looking inside the source, eh?
Makes sense. I was looking in the docs.
Thanks :)
--
Daniel Kasak
IT Developer
NUS Consulting Group
Level 5, 77 Pacific Highway
North Sydney, NSW, Australia 2060
T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989
email: [EMAIL PROTECTED]
website: http://www.nusconsulting.com.au