[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#735319: ITP: libdbix-introspector-perl -- module to detect what database code is connected to



Package: wnpp
Owner: gregor herrmann <gregoa@debian.org>
Severity: wishlist
X-Debbugs-CC: debian-devel@lists.debian.org,debian-perl@lists.debian.org

* Package name    : libdbix-introspector-perl
  Version         : 0.001000
  Upstream Author : Arthur Axel "fREW" Schmidt <frioux+cpan@gmail.com>
* URL             : https://metacpan.org/release/DBIx-Introspector
* License         : Artistic or GPL-1+
  Programming Lang: Perl
  Description     : module to detect what database code is connected to

DBIx::Introspector is a module factored out of the DBIx::Class 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,
DBD::ODBC 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
DBD::ADO 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.


Reply to: