Module: DatabaseCleaner::ConnectionAdapters::IBM_DBAdapter

Defined in:
lib/database_cleaner/active_record/truncation.rb

Instance Method Summary collapse

Instance Method Details

#truncate_table(table_name) ⇒ Object



90
91
92
# File 'lib/database_cleaner/active_record/truncation.rb', line 90

def truncate_table(table_name)
  execute("TRUNCATE #{quote_table_name(table_name)} IMMEDIATE")
end