DBIx-DR
view release on metacpan or search on metacpan
lib/DBIx/DR/Iterator.pm view on Meta::CPAN
my @ids = $it->all('id');
The same as:
my @ids = map { $_->id } $it->all;
=head2 grep
Constructs new iterator that is subset of parent iterator.
my $busy = $list->grep(sub { $_[0]->busy ? 1 : 0 });
=head2 push
Pushes one element into iterator.
If You use HASH-iterator You have to note key name.
=head3 Example
$hiter->push(abc => { id => 1 });
( run in 0.376 second using v1.01-cache-2.11-cpan-87723dcf8b7 )