# File lib/sequel/adapters/amalgalite.rb, line 151 def fetch_rows(sql) execute(sql) do |stmt| self.columns = cols = stmt.result_fields.map{|c| output_identifier(c)} col_count = cols.size stmt.each do |result| row = {} col_count.times{|i| row[cols[i]] = result[i]} yield row end end end
Quote the string using the connection instance method.
# File lib/sequel/adapters/amalgalite.rb, line 166 def literal_string_append(sql, v) db.synchronize(@opts[:server]){|c| sql << c.quote(v)} end