I am writing a module that performs db ops. I am given a database handle on the constructor, let's say $self->{'dbh'} = $param{'dbh'};
Since there will be many kinds of db out there (oracle, mysql, etc), how do I check the the $self->{'dbh'} what kind of db I am dealing with.
Example: I want Oracle. How do I check it's Oracle handle is being passed on?
Best regards,
Songahji
In reply to Getting database type from db handle by songahji
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |