NAME

DBIx::QueryByName::Result::HashIterator - A hash iterator around a statement handle

DESCRIPTION

Provides an iterator-like api to a DBI statement handle that is expected to return one or more columns upon each call to fetchrow_array().

DO NOT USE DIRECTLY!

INTERFACE

my $i = new($query,$sth);

Return a hash iterator wrapped around this statement handle.

my $result = $i->next();

%result is the hashref returned by fetchrow_hash() called upon this iterator's statement handle. Return undef if no more rows to fetch.