DBIx::SQLEngine::RecordSet::NextPrev - A RecordSet with a current index


DBIx-SQLEngine documentation  | view source Contained in the DBIx-SQLEngine distribution.

Index


NAME

Top

DBIx::SQLEngine::RecordSet::NextPrev - A RecordSet with a current index

SYNOPSIS

Top

  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

Top

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

This package is INCOMPLETE!

SEE ALSO

Top

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.


DBIx-SQLEngine documentation  | view source Contained in the DBIx-SQLEngine distribution.