=head2 new
-=back
-
Returns a new L<DBIx::Class::Storage::DBI::Cursor> object.
=cut
=head2 next
+=over 4
+
+=item Arguments: none
+
+=item Return Value: \@row_columns
+
=back
-Advances the cursor to the next result and returns it.
+Advances the cursor to the next row and returns an array of column
+values (the result of L<DBI/fetchrow_array> method).
=cut
=head2 all
+=over 4
+
+=item Arguments: none
+
+=item Return Value: \@row_columns+
+
=back
-Returns all results in the L<DBIx::Class::ResultSet>.
+Returns a list of arrayrefs of column values for all rows in the
+L<DBIx::Class::ResultSet>.
=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;