method

sql_for

Importance_0
v5.2.3 - Show latest stable - 0 notes - Class: PartialQuery
sql_for(binds, connection) 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 51
      def sql_for(binds, connection)
        val = @values.dup
        casted_binds = binds.map(&:value_for_database)
        @indexes.each { |i| val[i] = connection.quote(casted_binds.shift) }
        val.join
      end
Register or log in to add new notes.