SQLite already supports named bind arguments, so use directly.
Included modules
- 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, line 281 def map_to_prepared_args(hash) args = {} hash.each{|k,v| args[k.to_s.gsub('.', '__')] = v} args end