=head2 new
-=back
-
Returns a new L<DBIx::Class::Storage::DBI::Cursor> object.
=cut
=back
-Advances the cursor to the next row and returns an arrayref of column values.
+Advances the cursor to the next row and returns an array of column
+values (the result of L<DBI/fetchrow_array> method).
=cut
=head2 reset
-=back
-
Resets the cursor to the beginning of the L<DBIx::Class::ResultSet>.
=cut
my ($self) = @_;
$self->_check_forks_threads;
- $self->{sth}->finish if $self->{sth}->{Active};
+ $self->{sth}->finish if $self->{sth} && $self->{sth}->{Active};
}
1;