Flowdock
method

exec_delete

Importance_0
Ruby on Rails latest stable (v6.1.7.7) - 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 75
        def exec_delete(sql, name = nil, binds = [])
          if without_prepared_statement?(binds)
            @lock.synchronize do
              execute_and_free(sql, name) { @connection.affected_rows }
            end
          else
            exec_stmt_and_free(sql, name, binds) { |stmt| stmt.affected_rows }
          end
        end
Register or log in to add new notes.