Sha256: d44eba22a1ad24bbad40b55985f626e243b54c9ba9e2f80efe46b479ebe18e42
Contents?: true
Size: 304 Bytes
Versions: 3
Compression:
Stored size: 304 Bytes
Contents
class Upsert class Connection # @private module Postgresql def bind_value(v) case v when Hash # you must require 'pg_hstore' from the 'pg-hstore' gem yourself ::PgHstore.dump v, true else super end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
upsert-1.2.0 | lib/upsert/connection/postgresql.rb |
upsert-1.1.7 | lib/upsert/connection/postgresql.rb |
upsert-1.1.6 | lib/upsert/connection/postgresql.rb |