Sha256: 9657b6bcf139b37869a9b23db9e91d3c953537c508d555db0c51da61da6dbcc0
Contents?: true
Size: 410 Bytes
Versions: 16
Compression:
Stored size: 410 Bytes
Contents
# frozen_string_literal: true module ActiveRecord module ConnectionAdapters module CipherStashPG 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
16 entries across 11 versions & 1 rubygems