CPAN::WWW::Testers::Generator::Database - DB handling code.


CPAN-WWW-Testers-Generator documentation  | view source Contained in the CPAN-WWW-Testers-Generator distribution.

Index


NAME

Top

CPAN::WWW::Testers::Generator::Database - DB handling code.

SYNOPSIS

Top

  my $dbi = CPAN::WWW::Testers::Generator::Database->new(database => $db);
  my @rows = $dbi->get_query($sql);
  $dbi->do_query($sql);

  my $iterator = $dbi->get_query_interator($sql);
  while(my $row = $iterator->()) {
    # do something
  }

DESCRIPTION

Top

Database handling code for interacting with a local cpanstats database.

INTERFACE

Top

The Constructor

new

Methods

do_commit

Force a commit if AutoCommit is off

do_query

An SQL wrapper method to perform a non-returning request.

get_query

An SQL wrapper method to perform a returning request.

get_query_iterator

An SQL wrapper method to perform a returning request, via an iterator.

BUGS, PATCHES & FIXES

Top

There are no known bugs at the time of this release. However, if you spot a bug or are experiencing difficulties, that is not explained within the POD documentation, please send bug reports and patches to the RT Queue (see below).

Fixes are dependant upon their severity and my availablity. Should a fix not be forthcoming, please feel free to (politely) remind me.

RT Queue - http://rt.cpan.org/Public/Dist/Display.html?Name=CPAN-WWW-Testers-Generator

SEE ALSO

Top

CPAN::WWW::Testers, CPAN::Testers::WWW::Statistics

http://www.cpantesters.org/, http://stats.cpantesters.org/, http://wiki.cpantesters.org/

AUTHOR

Top

  Barbie, <barbie@cpan.org>
  for Miss Barbell Productions <http://www.missbarbell.co.uk>.

COPYRIGHT AND LICENSE

Top


CPAN-WWW-Testers-Generator documentation  | view source Contained in the CPAN-WWW-Testers-Generator distribution.