Sha256: 26ed0425d9fafbbd7ca14b2b35395894d62e63a1b46e43abdbdbf6b557c467dd
Contents?: true
Size: 571 Bytes
Versions: 8
Compression:
Stored size: 571 Bytes
Contents
class Upsert class Connection # @private class PG_Connection < Connection include Postgresql def execute(sql, params = nil) if params Upsert.logger.debug { %{[upsert] #{sql} with #{params.inspect}} } metal.exec sql, convert_binary(params) else Upsert.logger.debug { %{[upsert] #{sql}} } metal.exec sql end end def quote_ident(k) metal.quote_ident k.to_s end def binary(v) { :value => v.value, :format => 1 } end end end end
Version data entries
8 entries across 8 versions & 1 rubygems