module Sequel::SQLite::Dataset::ArgumentMapper

  1. lib/sequel/adapters/sqlite.rb

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/sqlite.rb
380 def map_to_prepared_args(hash)
381   args = {}
382   hash.each{|k,v| args[k.to_s.gsub('.', '__')] = v}
383   args
384 end