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
366 def map_to_prepared_args(hash)
367   args = {}
368   hash.each{|k,v| args[k.to_s.gsub('.', '__')] = v}
369   args
370 end