method

bind

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: BindMap
bind(values) public

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/statement_cache.rb, line 125
      def bind(values)
        bas = @bound_attributes.dup
        @indexes.each_with_index { |offset, i| bas[offset] = bas[offset].with_cast_value(values[i]) }
        bas
      end
Register or log in to add new notes.