Class: ActiveRecord::ConnectionAdapters::PostgreSQL::OID::PGconn

Inherits:
Object
  • Object
show all
Defined in:
lib/arjdbc/postgresql/base/pgconn.rb

Overview

emulate PGconn#unescape_bytea due #652

Class Method Summary collapse

Class Method Details

.unescape_bytea(escaped) ⇒ Object

NOTE: on pg gem ... PGconn = (class) PG::Connection



4
5
6
# File 'lib/arjdbc/postgresql/base/pgconn.rb', line 4

def self.unescape_bytea(escaped)
  ArJdbc::PostgreSQL.unescape_bytea(escaped)
end