method
unquote
v6.1.3.1 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Range
unquote(value)private
When formatting the bound values of range types, PostgreSQL quotes the bound value using double-quotes in certain conditions. Within a double-quoted string, literal “ and \ characters are themselves escaped. In input, PostgreSQL accepts multiple escape styles for ” (either " or “”) but in output always uses “”. See:
-
www.postgresql.org/docs/current/rangetypes.html#RANGETYPES-IO
-
www.postgresql.org/docs/current/rowtypes.html#ROWTYPES-IO-SYNTAX