method
deserialize
v8.1.1 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Array
deserialize(value)public
No documentation available.
# File activerecord/lib/active_record/connection_adapters/postgresql/oid/array.rb, line 23
def deserialize(value)
case value
when ::String
type_cast_array(@pg_decoder.decode(value), :deserialize)
when Data
type_cast_array(value.values, :deserialize)
else
super
end
end