Sha256: 45defc5a77f98615383caae41d56550f97999dfc5dbe1ff15303e7e5483b4811
Contents?: true
Size: 407 Bytes
Versions: 193
Compression:
Stored size: 407 Bytes
Contents
# frozen_string_literal: true module ActiveRecord module ConnectionAdapters module PostgreSQL module OID # :nodoc: class Bytea < Type::Binary # :nodoc: def deserialize(value) return if value.nil? return value.to_s if value.is_a?(Type::Binary::Data) PG::Connection.unescape_bytea(super) end end end end end end
Version data entries
193 entries across 188 versions & 16 rubygems