method
quote_bound_value
v7.0.0 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::Quoting
quote_bound_value(value)public
Quote a value to be used as a bound parameter of unknown type. For example, MySQL might perform dangerous castings when comparing a string to a number, so this method will cast numbers to string.