Class/Module Index [+]

Quicksearch

Sequel::TinyTDS::Dataset::ArgumentMapper

SQLite already supports named bind arguments, so use directly.

Protected Instance Methods

map_to_prepared_args(hash) click to toggle source

Return a hash with the same values as the given hash, but with the keys converted to strings.

# File lib/sequel/adapters/tinytds.rb, line 185
def map_to_prepared_args(hash)
  args = {}
  hash.each{|k,v| args[k.to_s.gsub('.', '__')] = v}
  args
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.