Sha256: 333594c26e13d0df2cf5a4dce7182b34c3631bce943d8326fa93b085e8fde033
Contents?: true
Size: 475 Bytes
Versions: 2
Compression:
Stored size: 475 Bytes
Contents
class Upsert class Connection # @private class PG_Connection < Connection def execute(sql, params = nil) if params Upsert.logger.debug { %{[upsert] #{sql} with #{params.inspect}} } raw_connection.exec sql, params else Upsert.logger.debug { %{[upsert] #{sql}} } raw_connection.exec sql end end def quote_ident(k) raw_connection.quote_ident k.to_s end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
upsert-1.0.2 | lib/upsert/connection/PG_Connection.rb |
upsert-0.5.0 | lib/upsert/connection/pg_connection.rb |