module Sequel::TinyTDS::Dataset::ArgumentMapper

  1. lib/sequel/adapters/tinytds.rb
Parent: Dataset

SQLite already supports named bind arguments, so use directly.

Methods

Protected Instance

  1. map_to_prepared_args

Included modules

  1. Sequel::Dataset::ArgumentMapper

Protected Instance methods

map_to_prepared_args (hash)

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

[show source]
# 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