Included modules
Public Instance methods
fetch_rows(sql)
[show source]
# File lib/sequel/adapters/amalgalite.rb 190 def fetch_rows(sql) 191 execute(sql) do |stmt| 192 self.columns = cols = stmt.result_fields.map{|c| output_identifier(c)} 193 col_count = cols.size 194 stmt.each do |result| 195 row = {} 196 col_count.times{|i| row[cols[i]] = result[i]} 197 yield row 198 end 199 end 200 end