method

exec_delete

rails latest stable - Class: ActiveRecord::ConnectionAdapters::MysqlAdapter

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v4.2.9) is shown here.

exec_delete(sql, name, binds)
public

No documentation available.

# File activerecord/lib/active_record/connection_adapters/mysql_adapter.rb, line 379
      def exec_delete(sql, name, binds) # :nodoc:
        affected_rows = 0

        exec_query(sql, name, binds) do |n|
          affected_rows = n
        end

        affected_rows
      end