push @{$rows}, $_ while $_ = $sth->fetchrow_hashref();