Flowdock
method

exec_delete

Importance_0
v5.2.3 - Show latest stable - 0 notes - Class: DatabaseStatements
exec_delete(sql, name = nil, binds = []) 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/connection_adapters/mysql/database_statements.rb, line 43
        def exec_delete(sql, name = nil, binds = [])
          if without_prepared_statement?(binds)
            execute_and_free(sql, name) { @connection.affected_rows }
          else
            exec_stmt_and_free(sql, name, binds) { |stmt| stmt.affected_rows }
          end
        end
Register or log in to add new notes.