DBIx::SQLEngine::RecordSet::NextPrev - A RecordSet with a current index
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(); }
Provides additional methods for a RecordSet to add a current index with previous and next methods.
This package is INCOMPLETE!
See the DBIx::SQLEngine manpage for the overall interface and developer documentation.
See the DBIx::SQLEngine::Docs::ReadMe manpage for general information about this distribution, including installation and license information.