method

build_truncate_statements

rails latest stable - Class: ActiveRecord::ConnectionAdapters::SQLite3::DatabaseStatements

Method deprecated or moved

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

build_truncate_statements(*table_names)
private

No documentation available.

# File activerecord/lib/active_record/connection_adapters/sqlite3/database_statements.rb, line 109
          def build_truncate_statements(*table_names)
            truncate_tables = table_names.map do |table_name|
              "DELETE FROM #{quote_table_name(table_name)}"
            end
            combine_multi_statements(truncate_tables)
          end