DBIx-Wrap
view release on metacpan or search on metacpan
# while (my $user = $db->each (...
# to get a hash.
}
Note that this method is deprecated. Use the C<iterator> method.
This method is used for iterating through multiple database entries. See
_prepare_sql for the named parameters used.
You must pass as the first arguement a reference to a scalar to store an
id for the iteration. This allows iterations to be nested without
conflict.
=cut
sub each {
my $self = shift;
my ($id, %params) = @_;
my $sth;
if (defined $$id) {
( run in 1.424 second using v1.01-cache-2.11-cpan-71847e10f99 )