1 package DBIx::Data::Stream::STH;
7 bless({ %{$_[0]} }, ref($proto)||$proto);
10 sub _sth { shift->{sth} }
12 sub _clear_sth { delete shift->{sth} }
15 my $sth = (my $self = shift)->_sth;
17 # {Active} only means that there *may* be more results to fetch
18 if ($sth->{Active} and my @next = $self->sth->fetchrow_array) {
19 my %next; @next{@{$self->_column_order}} = @next;
23 # prepare_cached might recycle it now we're finished so get rid of it