|
NAMEDBIx::SQLEngine::RecordSet::NextPrev - A RecordSet with a current index SYNOPSIS use DBIx::SQLEngine::RecordSet;
$rs = DBIx::SQLEngine::RecordSet->class( 'NextPrev' )->new(@records);
while ( $rs->current_record ) {
print $rs->get_values( 'name' );
$rs->move_next();
}
$rs->move_first;
while ( $rs->current_record ) {
$rs->set_values( 'updated' => time() );
$rs->save_record();
$rs->move_next();
}
DESCRIPTIONProvides additional methods for a RecordSet to add a current index with previous and next methods. This package is INCOMPLETE! SEE ALSOSee DBIx::SQLEngine for the overall interface and developer documentation. See DBIx::SQLEngine::Docs::ReadMe for general information about this distribution, including installation and license information.
|