instance method
build_delete_from_statements
Ruby on Rails edge
Since edge Private — implementation detail, not part of the public APISignature
build_delete_from_statements(table_names)
No documentation comment.
Parameters
-
table_namesreq
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