1 package DBIx::Data::Store::Command::Row;
5 use Method::Signatures::Simple;
8 my $sth = $self->_new_active_sth;
9 my @row = $sth->fetchrow_array;
10 my @nextrow = $sth->fetchrow_array if @row;
11 if(@row && @nextrow) {
12 carp "Query returned more than one row - did you want a stream command?";
14 # Need to call finish() to work round broken DBDs
19 with 'DBIx::Data::Store::Command';
21 __PACKAGE__->meta->make_immutable;