method

execute_batch

Importance_0
v6.1.3.1 - Show latest stable - 0 notes - Class: DatabaseStatements
execute_batch(statements, name = nil) private

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/connection_adapters/mysql/database_statements.rb, line 85
          def execute_batch(statements, name = nil)
            combine_multi_statements(statements).each do |statement|
              execute(statement, name)
            end
            @connection.abandon_results!
          end
Register or log in to add new notes.