# File lib/dbi/dbi.rb, line 1143 def fetch_all rows = [] loop do row = fetch break if row.nil? rows << row.dup end if rows.empty? nil else rows end end