method

cast_bound_value

Importance_1
v8.1.1 - Show latest stable - 0 notes - Class: ActiveRecord::ConnectionAdapters::Quoting
cast_bound_value(value) public

Cast 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.

Show source
Register or log in to add new notes.