Matthew Simon Cavalletto > DBIx-SQLEngine > DBIx::SQLEngine::RecordSet::NextPrev

Download:
DBIx-SQLEngine-0.93.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  0
View/Report Bugs
Source  

NAME ^

DBIx::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();
  }

DESCRIPTION ^

Provides additional methods for a RecordSet to add a current index with previous and next methods.

This package is INCOMPLETE!

SEE ALSO ^

See 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.

syntax highlighting: