Module: Sequel::Postgres::HStore::DatabaseMethods
- Defined in:
- lib/sequel/extensions/pg_hstore.rb
Instance Method Summary collapse
-
#bound_variable_arg(arg, conn) ⇒ Object
Handle hstores in bound variables.
Instance Method Details
#bound_variable_arg(arg, conn) ⇒ Object
Handle hstores in bound variables
140 141 142 143 144 145 146 147 148 149 |
# File 'lib/sequel/extensions/pg_hstore.rb', line 140 def bound_variable_arg(arg, conn) case arg when HStore arg.unquoted_literal when Hash HStore.new(arg).unquoted_literal else super end end |