method

truncate_tables

Importance_0
v7.1.3.4 - Show latest stable - 0 notes - Class: DatabaseTasks
truncate_tables(db_config) private

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/tasks/database_tasks.rb, line 224
      def truncate_tables(db_config)
        with_temporary_connection(db_config) do |conn|
          conn.truncate_tables(*conn.tables)
        end
      end
Register or log in to add new notes.