fitnesse_test/vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.5/lib/active_record/connection_adapters/postgresql/quoting.rb
# Escapes binary strings for bytea input to the database.
Escapes binary strings for bytea input to the database.
Escapes binary strings for bytea input to the database .
def _type_cast(value)
          case value
          when Type::Binary::Data
            { value: value.to_s, format: 1 }
          when OID::Xml::Data, OID::Bit::Data
            value.to_s
          else
            super
          end
        end
def _type_cast ( value ) case value when Type :: Binary :: Data { value : value . to_s , format : 1 } when OID :: Xml :: Data , OID :: Bit :: Data value . to_s else super end end
Escapes binary strings for bytea input to the database.
Escapes binary strings for bytea input to the database .
# Return a bind param hash with format as binary. # See http://deveiate.org/code/pg/PGconn.html#method-i-exec_prepared-doc # for more information
value
<not_specific>