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