NAME
CPAN::WWW::Testers::Generator::Database - DB handling code.
SYNOPSIS
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
Database handling code for interacting with a local cpanstats database.
FUNCTIONS
Constructor
- new
Methods
- 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
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
CPAN::WWW::Testers, CPAN::Testers::WWW::Statistics
http://www.cpantesters.org/, http://stats.cpantesters.org/
AUTHOR
Barbie, <barbie@cpan.org>
for Miss Barbell Productions <http://www.missbarbell.co.uk>.
COPYRIGHT AND LICENSE
Copyright (C) 2008 Barbie for Miss Barbell Productions.
This module is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.