Return a hash with the same values as the given hash, but with the keys converted to strings.
# File lib/sequel/adapters/sqlite.rb, line 296 def map_to_prepared_args(hash) args = {} hash.each{|k,v| args[k.to_s.gsub('.', '__')] = v} args end
SQLite uses a : before the name of the argument for named arguments.
# File lib/sequel/adapters/sqlite.rb, line 306 def prepared_arg(k) LiteralString.new("#{prepared_arg_placeholder}#{k.to_s.gsub('.', '__')}") end
Always assume a prepared argument.
# File lib/sequel/adapters/sqlite.rb, line 311 def prepared_arg?(k) true end