DBIx::Inspector

Get information from $dbh
Download

DBIx::Inspector Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • MATSUNO Tokuhiro
  • Publisher web site:
  • http://search.cpan.org/~tokuhirom/Sledge-Plugin-TmplParamsBinder-0.01/lib/Sledge/Plugin/TmplParamsBinder.pm

DBIx::Inspector Tags


DBIx::Inspector Description

DBIx::Inspector is a Perl inspector for $dbh.SYNOPSIS use DBIx::Inspector; my $dbh = DBI->connect(...) or die; my $inspector = DBIx::Inspector->new(dbh => $dbh); my @tables = $inspector->tables; for my $table (@tables) { print " pk:\n"; for my $pk ($table->primary_key) { print " ", $pk->name, "\n"; } print " columns:\n"; for my $column ($table->columns) { print " ", $column->name, "\n"; } }Product's homepage


DBIx::Inspector Related Software