Package : perl-DBIx-Introspector

Package details

Summary: Detect what database you are connected to

Description:
'DBIx::Introspector' is a module factored out of the the DBIx::Class
manpage database detection code. Most code that needs to detect which
database it is connected to assumes that there is a one-to-one mapping from
database drivers to database engines. Unfortunately reality is rarely that
simple. For instance, the DBD::ODBC manpage is typically used to connect to
SQL Server, but ODBC can be used to connect to PostgreSQL, MySQL, and
Oracle. Additionally, while ODBC is the most common way to connect to SQL
Server, it is not the only option, as the DBD::ADO manpage can also be
used.

'DBIx::Introspector' can correctly detect which database you are connected
to, because it was factored out of a complex, working codebase. On top of
that it has been written to be very extensible. So if you needed to detect
which version of your given database you are connected to that would not be
difficult.

Furthermore, 'DBIx::Introspector' does it's best to try to detect
information based on the dsn you give it if you have not yet connected, so
you can possibly avoid connection or at least defer connection.


URL: http://search.cpan.org/dist/DBIx-Introspector
License: GPL+ or Artistic

Maintainer: nobody

List of RPMs