浅倉卓司 > Class-DBI-Plugin-Iterator > Class::DBI::Plugin::Iterator

Download:
Class-DBI-Plugin-Iterator-0.13.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 0.13   Source  

NAME ^

Class::DBI::Plugin::Iterator - new Iterator for Class::DBI

SYNOPSIS ^

  package CD;
  use base qw(Class::DBI);
  __PACKAGE__->set_db(...);
  
  use Class::DBI::Plugin::Iterator;    # just it
  
  package main;
  use CD;
  my $itr = CD->retrieve_all;
  my @discs = $itr->slice(0,9);
  
  my $new_it = $itr->slice(10,19);

DESCRIPTION ^

OPTION ^

prefetch

  use Class::DBI::Plugin::Iterator prefetch => 5;

driver

  use Class::DBI::Plugin::Iterator driver => 'mysql4';

NOTES ^

AUTHOR ^

Takuji ASAKURA, <asakura@weakpoint.jpn.org>

SEE ALSO ^

Class::DBI, Class::DBI::Iterator

syntax highlighting: