instance method build_delete_from_statements

Ruby on Rails edge

Since edge Private — implementation detail, not part of the public API

Signature

build_delete_from_statements(table_names)

No documentation comment.

Parameters

table_names req
Source
# File activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb, line 930
        def build_delete_from_statements(table_names)
          table_names.map do |table_name|
            "DELETE FROM #{quote_table_name(table_name)}"
          end
        end

Defined in activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb line 930 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveRecord::ConnectionAdapters::DatabaseStatements

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close