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
362 def map_to_prepared_args(hash)
363   args = {}
364   hash.each{|k,v| args[k.to_s.gsub('.', '__')] = v}
365   args
366 end