DBIx::FetchLoop 0.6
Sponsored Links
DBIx::FetchLoop 0.6 Ranking & Summary
File size:
0.006 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
1037
Date added:
2006-12-21
Publisher:
Brendan Fagan
DBIx::FetchLoop 0.6 description
DBIx::FetchLoop is a Perl module that can fetch with change detection and aggregates.
SYNOPSIS
use DBIx::FetchLoop;
$lph = DBIx::FetchLoop->new($sth, $dbi_method);
$hash_ref = $lph->fetch_current_data;
$rowset = $hash_ref->{previous};
$rowset = $hash_ref->{current};
$rowset = $hash_ref->{next};
$rowset = $lph->fetch_current_row;
$rowset = $lph->previous;
$rowset = $lph->current;
$rowset = $lph->next;
$lph->set_aggregate($new_field, $field);
$lph->reset_aggregate($new_field);
$lph->set_concatenate($new_field, $field);
$lph->reset_concatenate($new_field);
$boolean = $lph->pre_loop($field);
$boolean = $lph->post_loop($field);
$boolean = $lph->pre_loop_substr($field,$offset,$length);
$boolean = $lph->post_loop_substr($field,$offset,$length);
$boolean = $lph->is_first;
$boolean = $lph->is_last;
$count = $lph->count;
DBIx::FetchLoop is a supplemental approach for data retrieval with DBI. Result rows are queued with hash references to previous, current and next rows. Utility functions allow for simplified comparison of a field between previous and current or current and next rows. Additional functions allow you automatically create new fields for aggregating or concatenating based on fields in the resulting dataset.
Note: This module was created with ease of use and performance in mind. This module is intended to eliminate the need for temporary variables for loop detection as well as aggregation and concatenation. The reason that not all DBI methods for data retrieval are not implemented (such as selectall_arrayref) is that the modules design for performance would be defeated.
In essence you can write cleaner looking, more efficient code minus a few hassles.
SYNOPSIS
use DBIx::FetchLoop;
$lph = DBIx::FetchLoop->new($sth, $dbi_method);
$hash_ref = $lph->fetch_current_data;
$rowset = $hash_ref->{previous};
$rowset = $hash_ref->{current};
$rowset = $hash_ref->{next};
$rowset = $lph->fetch_current_row;
$rowset = $lph->previous;
$rowset = $lph->current;
$rowset = $lph->next;
$lph->set_aggregate($new_field, $field);
$lph->reset_aggregate($new_field);
$lph->set_concatenate($new_field, $field);
$lph->reset_concatenate($new_field);
$boolean = $lph->pre_loop($field);
$boolean = $lph->post_loop($field);
$boolean = $lph->pre_loop_substr($field,$offset,$length);
$boolean = $lph->post_loop_substr($field,$offset,$length);
$boolean = $lph->is_first;
$boolean = $lph->is_last;
$count = $lph->count;
DBIx::FetchLoop is a supplemental approach for data retrieval with DBI. Result rows are queued with hash references to previous, current and next rows. Utility functions allow for simplified comparison of a field between previous and current or current and next rows. Additional functions allow you automatically create new fields for aggregating or concatenating based on fields in the resulting dataset.
Note: This module was created with ease of use and performance in mind. This module is intended to eliminate the need for temporary variables for loop detection as well as aggregation and concatenation. The reason that not all DBI methods for data retrieval are not implemented (such as selectall_arrayref) is that the modules design for performance would be defeated.
In essence you can write cleaner looking, more efficient code minus a few hassles.
DBIx::FetchLoop 0.6 Screenshot
DBIx::FetchLoop 0.6 Keywords
DBIx
FetchLoop
FetchLoop 0.6
Perl module
Change detection
field
current
rowset
new
module
fetch
DBIx::FetchLoop
DBIxFetchLoop
DBIx::FetchLoop 0.6
Libraries
Programming
Bookmark DBIx::FetchLoop 0.6
DBIx::FetchLoop 0.6 Copyright
WareSeeker periodically updates pricing and software information of DBIx::FetchLoop 0.6 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of DBIx::FetchLoop 0.6 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
Related Software
DBIx:DataLookup 0.03 is designed as a useful tool which can help you easily both cache records pulled by an SQL statement from a database in the memory as well as look them up later at any time during execution of your script. Free Download
DBIx::OO is a database to Perl objects abstraction. Free Download
DBIx::Log4perl is a Perl extension for DBI to selectively log SQL, parameters, result-sets, etc. Free Download
DBIx::Frame is a Perl module for creating and maintaining DBI frameworks. Free Download
DBIx::Recordset is a Perl extension for DBI recordsets. Free Download
DBIx::Version is a Perl extension for getting database software name and version. Free Download
DBIx::DBStag::Cookbook is a Perl module for building and querying databases from XML. Free Download
DBIx::OO::Tree is a Perl module to manipulate hierarchical data using the "nested sets" model. Free Download
Latest Software
Popular Software
Favourite Software