Method: ActiveRecord::ConnectionAdapters::PostgreSQL::Quoting#escape_bytea
- Defined in:
- lib/active_record/connection_adapters/postgresql/quoting.rb
#escape_bytea(value) ⇒ Object
Escapes binary strings for bytea input to the database.
17 18 19 |
# File 'lib/active_record/connection_adapters/postgresql/quoting.rb', line 17 def escape_bytea(value) @connection.escape_bytea(value) if value end |