Module: Sequel::Postgres::HStore::DatabaseMethods
- Defined in:
- lib/sequel/extensions/pg_hstore.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#bound_variable_arg(arg, conn) ⇒ Object
Handle hstores in bound variables.
-
#reset_conversion_procs ⇒ Object
SEQUEL5: Remove.
Class Method Details
Instance Method Details
#bound_variable_arg(arg, conn) ⇒ Object
Handle hstores in bound variables
154 155 156 157 158 159 160 161 162 163 |
# File 'lib/sequel/extensions/pg_hstore.rb', line 154 def bound_variable_arg(arg, conn) case arg when HStore arg.unquoted_literal when Hash HStore.new(arg).unquoted_literal else super end end |