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



87
88
89
# File 'lib/database_cleaner/active_record/truncation.rb', line 87

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