ModelSEED Database Iterator - ModelSEED/Model-SEED-core GitHub Wiki

ModelSEED::Database::Iterator

Abstract role / interface for iterators

Methods

next

while ( my $object = $itr->next ) {
    ...
}

Return the next entry in the iterator. When the iterator is exhausted, return undef.

all

my @objects = $itr->all

Return an array of all the objects in the result.

⚠️ **GitHub.com Fallback** ⚠️