method

escape_hstore

Importance_0
v6.1.7.7 - Show latest stable - 0 notes - Class: Hstore
escape_hstore(value) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/connection_adapters/postgresql/oid/hstore.rb, line 55
            def escape_hstore(value)
              if value.nil?
                "NULL"
              else
                if value == ""
                  '""'
                else
                  '"%s"' % value.to_s.gsub(/(["\\])/, '\\\1')
                end
              end
            end
Register or log in to add new notes.