NAME

DBIx::DataModel::Iterator - Internal class for iterators over data rows

DESCRIPTION

Implements iterators returned by DBIx::DataModel::select. For internal use only.

METHODS

new

my $iterator = DBIx::DataModel::Iterator->new($sth, $iter_class)};

next

while (my $row = $iterator->next) {...}

Returns the next data row, blessed into an object of $iter_class

AUTHOR

Laurent Dami, <laurent.dami AT etat geneve ch>

COPYRIGHT AND LICENSE

Copyright 2006 by Laurent Dami.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.